mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
darwin: include nix in PATH
This makes rollbacks more reliable, previously you had to fix your PATH before calling darwin-rebuild. This works now: $ /nix/var/nix/profiles/system-866-link/sw/bin/darwin-rebuild switch -G 866
This commit is contained in:
parent
29f9fb52b3
commit
86fe053806
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ let
|
|||
{
|
||||
inherit (config.system) profile;
|
||||
inherit (stdenv) shell;
|
||||
path = "${pkgs.coreutils}/bin:${config.environment.systemPath}";
|
||||
path = "${pkgs.coreutils}/bin:${config.nix.package}/bin:${config.environment.systemPath}";
|
||||
}
|
||||
../../pkgs/nix-tools/darwin-rebuild.sh;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue