2023-04-06 09:06:59 +00:00
|
|
|
{
|
|
|
|
description = "Basic flake template for setting up development shells";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2023-04-08 14:32:26 +00:00
|
|
|
ruby-nix.url = "github:sagittaros/ruby-nix";
|
2023-04-06 09:06:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ self, nixpkgs, ... }:
|
|
|
|
let systems = inputs.flake-utils.lib.defaultSystems;
|
|
|
|
in inputs.flake-utils.lib.eachSystem systems (system: {
|
2023-04-08 14:32:26 +00:00
|
|
|
devShells.default = let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
in
|
|
|
|
import ./shell.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ruby-nix = inputs.ruby-nix.lib pkgs;
|
|
|
|
};
|
2023-04-06 09:06:59 +00:00
|
|
|
});
|
|
|
|
}
|