clean up devshell inputs

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-05-19 23:38:11 -04:00 committed by Alice Huston
parent 9b2ee295ea
commit af7a901bbf
2 changed files with 3 additions and 10 deletions

View File

@ -164,13 +164,6 @@
nixosConfigurations = genSystems inputs src (src + "/systems");
checks = import ./checks.nix { inherit inputs forEachSystem formatter; };
devShells = import ./shell.nix {
inherit
forEachSystem
nixpkgs
checks
sops-nix
;
};
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
};
}

View File

@ -1,14 +1,14 @@
{
inputs,
forEachSystem,
nixpkgs,
checks,
sops-nix,
...
}:
forEachSystem (
system:
let
inherit (inputs) nixpkgs sops-nix;
pkgs = nixpkgs.legacyPackages.${system};
pre-commit = pkgs.mkShell {
inherit (checks.${system}.pre-commit-check) shellHook;