Multi system and pkgs cleanup
This commit is contained in:
+6
-10
@@ -1,13 +1,9 @@
|
||||
{ inputs, ... }:
|
||||
let
|
||||
forEachSystem =
|
||||
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
|
||||
in forEachSystem (system:
|
||||
let
|
||||
overlays = import ../overlays { inherit inputs pkgs; };
|
||||
overrides = { custom = import ../packages { inherit pkgs; }; };
|
||||
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
|
||||
{ inputs, mkPkgs, supportedSystems, ... }:
|
||||
inputs.nixpkgs.lib.genAttrs supportedSystems (
|
||||
system:
|
||||
let pkgs = mkPkgs system;
|
||||
in {
|
||||
default = import ./devsh { inherit pkgs; };
|
||||
devsh = import ./devsh { inherit pkgs; };
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user