diff options
Diffstat (limited to 'dot_config/nix/templates/dev/flake.nix')
| -rw-r--r-- | dot_config/nix/templates/dev/flake.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dot_config/nix/templates/dev/flake.nix b/dot_config/nix/templates/dev/flake.nix index 84b3179..a65ee6a 100644 --- a/dot_config/nix/templates/dev/flake.nix +++ b/dot_config/nix/templates/dev/flake.nix @@ -3,13 +3,18 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - outputs = { self, nixpkgs }: + outputs = + { self, nixpkgs }: let - systems = [ "x86_64-linux" "aarch64-linux" ]; + systems = [ + "x86_64-linux" + "aarch64-linux" + ]; forAllSystems = nixpkgs.lib.genAttrs systems; in { - devShells = forAllSystems (system: + devShells = forAllSystems ( + system: let pkgs = nixpkgs.legacyPackages.${system}; in @@ -24,6 +29,7 @@ # Per-project env setup (printed once on shell entry). ''; }; - }); + } + ); }; } |
