clean up devshell inputs
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
9b2ee295ea
commit
af7a901bbf
@ -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
|
|
||||||
;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user