-
-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZSH does not export darwin
in NIX_PATH
#151
Comments
Hmm, is this expected?
But at the same time:
Something makes it work for |
The NIX_PATH in zsh is the default of the nix installer, if you override variables in |
Sorry for necrobumping, but this caught my eye:
While I had |
Going to close this issue as a lot of the logic surrounding Manually using |
I am trying to configure
zsh
as my main shell.So far I have it configured as:
I also had to do
chsh
to actually switch tozsh
.But
nix-darwin
doesn't appear to be working inzsh
. The reason seems to be thatNIX_PATH
is not set correctly:Bash/Fish:
ZSH:
Setting
nix.nixPath
indarwin-configuration.nix
doesn't help :(/etc/zshenv
does contain everything that is necessary:And when I source
/nix/store/hz8ya45g8s21hi9vwvwi2g0krmxl8i5q-set-environment
directly and manually it setsNIX_PATH
as expected.This (running in a new shell) suggests that this file has been sourced:
However,
NIX_PATH
is not set. It looks like it has been reset, or as if__NIX_DARWIN_SET_ENVIRONMENT_DONE
has been set before sourcing/etc/zshenv
happened for the 1st time...Am I doing anything wrong?
The text was updated successfully, but these errors were encountered: