From fb2555f305158b7cf0f39120c781abdfbb1c5bbe Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Wed, 26 Feb 2025 01:17:01 -0500 Subject: dev-shells: use lix --- flake/dev-shells.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'flake') 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 ]; -- cgit v1.2.3