summaryrefslogtreecommitdiff
path: root/install-arch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install-arch.sh')
-rw-r--r--install-arch.sh4
1 files changed, 4 insertions, 0 deletions
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 <nixpkgs> {}" > ~/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