From 1cc0ca3c830dce953f974c25f3907e8a33b65add Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 29 May 2023 15:42:26 +0200 Subject: Describe fix for missing per-user channel with nix --- install-arch.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install-arch.sh') diff --git a/install-arch.sh b/install-arch.sh index e8b8274..d1b3cf9 100644 --- a/install-arch.sh +++ b/install-arch.sh @@ -201,6 +201,10 @@ nix-env -u ## nix - debug help with "nix repl ." echo "import {}" > ~/default.nix +# in case of "warning: Nix search path entry '/nix/var/nix/profiles/per-user/$USER/channels' does not exist, ignoring" +sudo mkdir /nix/var/nix/profiles/per-user/$USER +sudo ln -s $HOME/.nix-defexpr/channels /nix/var/nix/profiles/per-user/$USER/channels + # # # Problem solving -- cgit v1.2.3