I am trying to install the nix-package manager in a Debian/Devuan system, basically using the
installation script at https://nixos.org/nix/install
In order to allow to nix to work I have setted the kernel variable
kernel.unprivileged_userns_clone, nevertheless I get the following error
performing a single-user installation of Nix...
copying Nix to /nix/store.................................
initialising Nix database...
installing 'nix-2.2.1'
error: while setting up the build environment: cannot change root directory to '/nix/store/jkcbkr60gzcmz6bk9y4j4bhlx8qcqcyz-user-environment.drv.chroot': No such file or directory
./install: unable to install Nix into your default profile
Trying to execute step by step the installation script inside the bzip downloaded by the install script it seems that the process fails at line 125
if ! "$nix/bin/nix-env" -i "$nix"; then
echo "$0: unable to install Nix into your default profile" >&2
exit 1
while executing nix-env.
Indeed trying to execute the command return the following error.
installing 'nix-2.2.1'
error: while setting up the build environment: cannot change root directory to '/nix/store/jkcbkr60gzcmz6bk9y4j4bhlx8qcqcyz-user-environment.drv.chroot': No such file or directory
Here is the strace of the above mentioned command.
I am trying to install the nix-package manager in a Debian/Devuan system, basically using the installation script at https://nixos.org/nix/install
In order to allow to nix to work I have setted the kernel variable
kernel.unprivileged_userns_clone
, nevertheless I get the following errorTrying to execute step by step the installation script inside the bzip downloaded by the install script it seems that the process fails at line 125
while executing nix-env.
Indeed trying to execute the command return the following error.
Here is the strace of the above mentioned command.
Please ask for any additional help you may need.