-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"nix-channel --update" fails -- "warning: the group 'nixbld' specified in 'build-users-group' does not exist" #3337
Comments
nix-channel --update
fails -- warning: the group 'nixbld' specified in 'build-users-group' does not exist
nix-channel --update
fails -- warning: the group 'nixbld' specified in 'build-users-group' does not exist
Some info: From the aur entry for nix I attempted to change the nix config sandbox mode to false. $ cat ~/.config/nix/nix.conf
sandbox = false
substituters = https://cache.nixos.org https://all-hies.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= all-hies.cachix.org-1:JjrzAOEUsD9ZMt8fdFbzo3jNAyEWlPAwdVuHw4RD43k= This allowed me to update channels without error (I think). $ nix-channel --update
unpacking channels...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
created 1 symlinks in user environment |
for anyone who is interested, these were the steps i needed to install the latest nix (2.3.1), from AUR, on a fresh archlinux docker container: $ docker run -ti archlinux
pacman --noconfirm -Sy base-devel
curl https://aur.archlinux.org/cgit/aur.git/snapshot/editline.tar.gz | tar xz && cd editline/
env EUID=1 makepkg -si --noconfirm # hack to run makepkg as root
curl https://aur.archlinux.org/cgit/aur.git/snapshot/nix.tar.gz | tar xz && cd nix/
pacman --noconfirm -S libsodium boost brotli
env EUID=1 makepkg -si --noconfirm
useradd nixbld
gpasswd -a nixbld nixbld
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
NIX_PATH=/nix/var/nix/profiles/per-user/root/channels nix-shell -p python3 |
This issue belongs to NixOS/nix repository and not NixOS/nixpkgs |
The NixOS/nix issue placeholder text recommends posting in this issue board. |
Did you get this to work? I'm also failing to update my nix system to unstable. I think what you needed was |
I marked this as stale due to inactivity. → More info |
OS: Arch Linux
5.4.15-arch1-1
Nix Version:
nix
(Nix) 2.3.1Steps taken
After this, I tried with
sudo
(also described in the arch wiki):Checking on channel path
Attempted solution
channels
dir and try to updateThe text was updated successfully, but these errors were encountered: