diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-05-29 15:42:26 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-05-29 15:42:26 +0200 |
commit | 1cc0ca3c830dce953f974c25f3907e8a33b65add (patch) | |
tree | 2d624641efe6e61b6e45b4d0d6a25f9f6b77cd7b /install-arch.sh | |
parent | 9cec90b5da0e657e3cc91cfa7a752d0e6b39ce1d (diff) |
Describe fix for missing per-user channel with nix
Diffstat (limited to 'install-arch.sh')
-rw-r--r-- | install-arch.sh | 4 |
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 |