bug: nushell module w/ xdg.enable = true;
on macOS has incorrect env and nu variables
#6484
Open
2 tasks done
Are you following the right branch?
Is there an existing issue for this?
Issue description
I got a new MacBook the other day, but I also experienced this same issue on my work MacBook. I do not experience this issue on nixOS with the same HM module below.
With
xdg.enable = false;
(or commented out), my nushell config files get written to~/Library/Application Support/nushell
.With
xdg.enable = true;
', my nushell config files get written to~/.config/nushell
.Based on my reading of the HM module nix file, this is working as expected. In the former case above, everything (my config) works just fine. But I want to enable XDG for other apps that utilize it.
In the latter case, while the files show up in the right location:
the only env variable for XDG that seems to get set is
XDG_DATA_DIRS
:in addition, my
$nu.data-dir
and$nu.config-dir
variables are incorrect:Config files
Here's my nushell HM module:
Maintainer CC
@Philipp-M
@JoaquinTrinanes
@aidalgol
System information
I installed nix w/ the Determinate installer, per the instructions in the nix-darwin repo. I chose the vanilla nix install.
The text was updated successfully, but these errors were encountered: