From 5a7d96506375dde7b6715763ff90cd00fe3795ff Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 27 Oct 2024 14:30:53 -0400 Subject: tree-wide: lix -> nix Apparently newer Nix versions are pretty fast. Lets find out --- flake.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4c81a45..6f3506a 100644 --- a/flake.nix +++ b/flake.nix @@ -123,13 +123,15 @@ system: let pkgs = nixpkgsFor.${system}; - nixos-rebuild = pkgs.nixos-rebuild.override { nix = pkgs.lix; }; - inherit (inputs.nix-darwin.packages.${system}) darwin-rebuild; in { default = pkgs.mkShellNoCC { packages = [ + # We want to make sure we have the same + # Nix behavior across machines + pkgs.nix + # For CI pkgs.actionlint @@ -140,14 +142,14 @@ pkgs.just ] - ++ lib.optional pkgs.stdenv.isDarwin darwin-rebuild # See next comment - ++ lib.optionals pkgs.stdenv.isLinux [ - # We want to make sure we have the same - # Nix behavior across machines - pkgs.lix + ++ lib.optionals pkgs.stdenv.hostPlatform.isDarwin [ + # See above comment about Nix + inputs.nix-darwin.packages.${system}.darwin-rebuild + ] + ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ # Ditto - nixos-rebuild + pkgs.nixos-rebuild inputs.agenix.packages.${system}.agenix ]; -- cgit v1.2.3