From af7a901bbf86ca3e088bd9ae054f1395187f5e17 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 19 May 2024 23:38:11 -0400 Subject: [PATCH] clean up devshell inputs Signed-off-by: ahuston-0 --- flake.nix | 9 +-------- shell.nix | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index e289545..206d8a9 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; }; } diff --git a/shell.nix b/shell.nix index e1d3a28..7b224bb 100644 --- a/shell.nix +++ b/shell.nix @@ -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;