profile
viewpoint

Ask questionslocked from update

Nix installed inside Gentoo. I've updated nix from version 2 to 2.3.

$ nix-channel --update
error: opening lock file '/nix/store/d5w9a2n95nn15d570mhkgr6yxjia0dw8-nixos-unstable.lock': Permission denied

A more detailed description of the problem: http://www.gentoo.ru/node/29676

NixOS/nix

Answer questions xruzzz

After reinstalling and removing '/nix' directory, I get the error

$ nix-channel --update
unpacking channels...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: opening file '/proc/1836/uid_map': No such file or directory
error: program '/usr/bin/nix-env' failed with exit code 1

How to fix it?

useful!
source:https://uonfu.com/
Github User Rank List