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"); nixosConfigurations = genSystems inputs src (src + "/systems");
checks = import ./checks.nix { inherit inputs forEachSystem formatter; }; checks = import ./checks.nix { inherit inputs forEachSystem formatter; };
devShells = import ./shell.nix { devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
inherit
forEachSystem
nixpkgs
checks
sops-nix
;
};
}; };
} }

View File

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