I installed nix in a special directory /panfs/panfs.zamg.at/perm/vhmod/jkemet/opt/nix/ instead of /nix. Now that I'm trying to upgrade to nix-1.11 the settings for localstatedir and store-dir are ignored.
pkgs:
{
packageOverrides = self: {
nix = self.nix.override {
# Replace $HOME with your actual home directory; it will not
# be expanded for you.
# Also, the double quotes around the path are mandatory.
storeDir = "/panfs/panfs.zamg.at/perm/vhmod/jkemet/opt/nix/store";
stateDir = "/panfs/panfs.zamg.at/perm/vhmod/jkemet/opt/nix/var";
};
};
}
I installed nix in a special directory
/panfs/panfs.zamg.at/perm/vhmod/jkemet/opt/nix/
instead of/nix
. Now that I'm trying to upgrade to nix-1.11 the settings forlocalstatedir
andstore-dir
are ignored.I try the following
which results in:
Due to the misconfiguration the resulting
nix-env
shows:My
~/.nixpkgs/config.nix
reads:Why aren't those settings being picked up?