I have installed ‘nix-setup-systemd’. And I was on the getting started page of nix website. In the sample app, ‘nix-build’ gave me the following error:
--8<---------------cut here---------------start------------->8--- warning: Nix search path entry '/nix/var/nix/profiles/per-user/pankaj/channels/nixpkgs' does not exist, ignoring warning: Nix search path entry '/nix/var/nix/profiles/per-user/pankaj/channels' does not exist, ignoring error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at /home/pankaj/work/personal/learn/nix/p1/default.nix:1:17 --8<---------------cut here---------------end--------------->8--- I have added myself to ‘nix-users’ group as specified in the ‘/usr/share/doc/nix-bin/README.Debian’. Do I need to manually create profile directory? What is the proper debian-way of creating per-user profile?