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