2022/11/09/Nix issue
Jump to navigation
Jump to search
the Nix upgrade script issue: Day Two
Tuesday | Wednesday | Thursday |
Jacob Helwig suggested that I look at user groups. My user (woozle
, i.e. my usual login on this machine) is indeed not in the nix-users
group -- but adding myself to the nix-users
group doesn't seem to help:
woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ nix develop --extra-experimental-features nix-command error: getting status of /nix/var/nix/daemon-socket/socket: Permission denied
Invoking sudo does at least produce a different result:
woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ sudo nix develop --extra-experimental-features nix-command error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override
I don't recall needing to jump through these hoops when I first ran this script, successfully, some months ago... but maybe it makes a difference that I'm now using a distro (Linux Mint 21) that is a little bit behind the distro I was using then (Ubuntu-MATE 22.04). Maybe Nix can be used to update itself to the most recent version?