4 ms·
> the system kept trying to replace folders in their original places. This is the file that you want: $ cat ~/.config/user-dirs.dirs XDG_DESKTOP_DIR="$HO
by dotancohen 5y ago
> the system kept trying to replace folders in their original places.
This is the file that you want:
$ cat ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"
- yjftsjthsd-h 5y agoThat helps, but be warned that there are still programs running around that just hardcode their paths
- kaba0 5y agoCries in nixpkgs (Anyone who tried to package a program that hardcodes the “usual” binary paths know the pain)
- account42 5y agoDoesn't nix itself hardcode the nix store path though?
- kaba0 5y agoAfaik there is an option to change it, but it is not advisable as that will break the binary cache and you are left with compiling everything yourself. This is due to a technical limitation in that different packages can contain paths everywhere and thus they are inherently part of the resulting hash, on which other packages can depend.