Open loreto opened 1 year ago
This issue is stale because it has been open 30 days with no activity. Remove the stale
label or add a comment, otherwise this issue will be closed in 5 days.
- Since the new installer can respect XDG, we should see if we can use that. I guess one question is whether we would migrate users who are not currently respecting XDG, or if we'd just maintain backwards compatibility
I did try enabling XDG in Nix before running the installer, but it ended up breaking things. I didn't spend much time trying to figure out why, so this would require a bit of debugging work. Nix might just need the ~/.nix-profile
symlink for backwards compatibility for a while.
Is this still valid? I think Devbox respects XDG as much as possible and so do more recent versions of Nix.
Sadly, I think envsec (or was it runx) doesn't respect XDG for macs
Two examples reported by a user on Discord:
.cache/devbox/bin/
where the devbox binaries are stored. I think this is because our launcher script is not respecting XDG even though most of the devbox binary itself is.The
.nix-profile
symlink. We need to investigate whether nix itself could follow XDG since underneath the covers we're relying on it.