2022/11/08/Nix issue
Jump to navigation
Jump to search
the Nix upgrade script issue: Day One
Monday | Tuesday | Wednesday |
The first step in the upgrade is to start Nix on my desktop -- but I get an error when I do that:
woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ nix develop error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
My recollection is that I tried the --extra-experimental-features
option the last time I ran into this (several months ago), and that led to another dead-end -- but I suppose I could try it again and document that.
Yeah, here we go:
woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ nix --extra-experimental-features develop warning: unknown experimental feature 'develop' error: no subcommand specified Try 'nix --help' for more information.
Am I understanding the error message correctly? Maybe it meant...
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
I don't know if that's better or worse.
woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ ls -al /nix/var/nix/daemon-socket/socket ls: cannot access '/nix/var/nix/daemon-socket/socket': Permission denied woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ ls -al /nix/var/nix/daemon-socket ls: cannot open directory '/nix/var/nix/daemon-socket': Permission denied woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ ls -al /nix/var/nix total 20 drwxr-xr-x 5 root root 4096 Sep 11 15:05 . drwxr-xr-x 3 root root 4096 Sep 11 15:05 .. drwxrwx--- 2 root nix-users 4096 Nov 6 10:45 daemon-socket drwxr-xr-x 3 root root 4096 Sep 11 15:05 gcroots drwxr-xr-x 3 root root 4096 Sep 11 15:05 profiles
Anyway, that's where I'm stuck now.