New issue by LinArcX on void-packages repository https://github.com/void-linux/void-packages/issues/18970 Description: ### System * xuname: Void 5.4.15_1 x86_64 GenuineIntel notuptodate hold rrDDDFFF * package: nix-2.3.2_2 ### Expected behavior Want to work hello example of nix package manager without any issue. ### Actual behavior After installing nix package, if you try to use: `nix-shell -p hello`, it'll produce this error: ``` warning: Nix search path entry '/home/linarcx/.nix-defexpr/channels' does not exist, ignoring error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13 ``` If you try it with __sudo__: `error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13` Also, whenever you want to login again, you'll we see this message: Also when i restart and login again in my system, it says: ``` mkdir: cannot create directory '/nix/var/nix/profiles/per-user/linarcx': Permission denied WARNING: bad ownership on /nix/var/nix/profiles/per-user/linarcx ``` ### Steps to reproduce the behavior 1. Install nix package 2. re-login