You are not logged in.
Insralled nix through pacman I receave this error:
$ sudo nix-env -iA nixpkgs.hello
error: attribute 'nixpkgs' in selection path 'nixpkgs.hello' not foundLast edited by mahdi (2022-09-15 10:33:24)
Offline
And when running without sudo this error:
$ nix-env -iA nixpkgs.hello
installing 'hello-2.12'
error: opening lock file '/nix/store/6fz4bq3yi89b28aws84pmnf8b59i02n7-hello-2.12.tar.gz.drv.lock': Permission denied
(use '--show-trace' to show detailed location information)Last edited by mahdi (2022-09-15 10:38:05)
Offline
Add required users to the nix-users had forgotten. You had to add its code in wiki
Last edited by mahdi (2022-09-15 10:59:27)
Offline
Add required users to the nix-users had forgotten. You had to add its code in wiki
You could easily do that!
Btw, during installation a note is shown reminding you to add your user to the nix-users group…
Offline
The wiki actually mentions that since July 2021, https://wiki.archlinux.org/index.php?ti … did=684715 - but you've to read it instead of just copy-and-failing the code boxes…
Edit: Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Last edited by seth (2022-09-19 07:25:20)
Offline