nixconfig/shells/default.nix
2023-11-25 14:40:38 +01:00

14 lines
438 B
Nix

{ 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; };
})