Bloc notes | Nix error in tempdir()


Posted on January 3, 2018 by Alex comments [nix]
Error in tempdir() using /run/user/1000/nix-shell.XXXXXX: Parent directory (/run/user/1000) does not exist at /nix/store/[...]/x86_64-linux-thread-multi/Nix/Utils.pm line 45.
export TMPDIR=$(mktemp -d)

or

unset XDG_RUNTIME_DIR