Flake: Fix shells

This commit is contained in:
soraefir
2023-11-24 16:57:46 +01:00
parent 67fd69f9bc
commit b44e6d9e5b
6 changed files with 85 additions and 77 deletions

15
shells/default.nix Normal file
View File

@ -0,0 +1,15 @@
{ ... }:
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; };
}
)