mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Revert "installer: add NIX_PATH fallback in <darwin> lookup"
This reverts commit 06f8d83f60
.
This commit is contained in:
parent
0146366b21
commit
34a6eca033
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ with lib;
|
|||
system.activationScripts.preUserActivation.text = mkBefore ''
|
||||
PATH=/nix/var/nix/profiles/default/bin:$PATH
|
||||
|
||||
darwinPath=$(NIX_PATH=${concatStringsSep ":" config.nix.nixPath}:$HOME/.nix-defexpr/channels:$NIX_PATH nix-instantiate --eval -E '<darwin>' 2> /dev/null) || true
|
||||
darwinPath=$(NIX_PATH=${concatStringsSep ":" config.nix.nixPath} nix-instantiate --eval -E '<darwin>' 2> /dev/null) || true
|
||||
if ! test -e "$darwinPath"; then
|
||||
if test -t 1; then
|
||||
read -p "Would you like to manage <darwin> with nix-channel? [y/n] " i
|
||||
|
|
Loading…
Reference in a new issue