diff options
| author | Seth Flynn <[email protected]> | 2025-02-26 01:17:01 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-26 02:13:34 -0500 |
| commit | fb2555f305158b7cf0f39120c781abdfbb1c5bbe (patch) | |
| tree | a03f1cf5044ada5402e530e0bf9512ef77b769d8 /flake/dev-shells.nix | |
| parent | d80eb0f705f3d1136a17bd38bd1604c3dbd680cc (diff) | |
dev-shells: use lix
Diffstat (limited to 'flake/dev-shells.nix')
| -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 ]; |
