diff --git a/shells/default.nix b/shells/default.nix index 97a205d..57aec30 100644 --- a/shells/default.nix +++ b/shells/default.nix @@ -1,13 +1,13 @@ -{ inputs, ... }: -let - forEachSystem = - inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]; -in forEachSystem (system: - let - overlays = import ./pkgs/overlay.nix { inherit pkgs; }; - overrides = { custom = import ./pkgs { inherit pkgs; }; }; - pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides; - in { - default = import ./shells/devsh { inherit pkgs; }; - devsh = import ./shells/devsh { inherit pkgs; }; - }) +{ inputs, ... }: +let + forEachSystem = + inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]; +in forEachSystem (system: + let + overlays = import ../overlays { inherit pkgs; }; + overrides = { custom = import ../pkgs { inherit pkgs; }; }; + pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides; + in { + default = import ./devsh { inherit pkgs; }; + devsh = import ./devsh { inherit pkgs; }; + })