From 184e9f34be51e05cc1b8390aa190d9ef6dfae855 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 6 Sep 2017 23:37:34 +0200 Subject: nix: include user channels in NIX_PATH --- modules/system/activation-checks.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system') diff --git a/modules/system/activation-checks.nix b/modules/system/activation-checks.nix index 91c74b5..7c885d8 100644 --- a/modules/system/activation-checks.nix +++ b/modules/system/activation-checks.nix @@ -49,8 +49,8 @@ let if ! test -e "$darwinPath"; then echo "error: Changed but target does not exist, aborting activation" >&2 echo "Add the darwin repo as a channel or set nix.nixPath:" >&2 - echo "$ sudo nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin" >&2 - echo "$ sudo nix-channel --update" >&2 + echo "$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin" >&2 + echo "$ nix-channel --update" >&2 echo >&2 echo "or set" >&2 echo >&2 @@ -63,8 +63,8 @@ let if ! test -e "$nixpkgsPath"; then echo "error: Changed but target does not exist, aborting activation" >&2 echo "Add a nixpkgs channel or set nix.nixPath:" >&2 - echo "$ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable nixpkgs" >&2 - echo "$ sudo nix-channel --update" >&2 + echo "$ nix-channel --add http://nixos.org/channels/nixpkgs-unstable nixpkgs" >&2 + echo "$ nix-channel --update" >&2 echo >&2 echo "or set" >&2 echo >&2 -- cgit v1.2.3