Update shells/default.nix

This commit is contained in:
sora 2023-11-25 13:28:34 +01:00
parent b234cf4928
commit 73d00b72af

View File

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