diff options
Diffstat (limited to 'flake')
| -rw-r--r-- | flake/dev-shells.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/flake/dev-shells.nix b/flake/dev-shells.nix index 8d333a6..0df2fa3 100644 --- a/flake/dev-shells.nix +++ b/flake/dev-shells.nix @@ -10,6 +10,11 @@ let inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux; + + nix = inputs'.lix-module.packages.default; + + overrideNix = p: p.override { inherit nix; }; + nixos-rebuild = overrideNix pkgs.nixos-rebuild; in { @@ -19,7 +24,7 @@ [ # We want to make sure we have the same # Nix behavior across machines - pkgs.nix + nix # For CI pkgs.actionlint @@ -33,12 +38,11 @@ pkgs.opentofu ] ++ lib.optionals isDarwin [ - # See above comment about Nix inputs'.nix-darwin.packages.darwin-rebuild ] ++ lib.optionals isLinux [ - # Ditto - pkgs.nixos-rebuild + # See above comment about Nix + nixos-rebuild inputs'.agenix.packages.agenix ]; |
