diff options
| author | seth <[email protected]> | 2024-10-27 14:30:53 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-10-27 14:30:53 -0400 |
| commit | 5a7d96506375dde7b6715763ff90cd00fe3795ff (patch) | |
| tree | 31ae462ab07310cd1b8d13ac8997b097483aea6b /flake.nix | |
| parent | 43d230e33bb2a5b046cf71b47bff0b47e908c807 (diff) | |
tree-wide: lix -> nix
Apparently newer Nix versions are pretty fast. Lets find out
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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 ]; |
