shell_zsh: correct the path to the nix-profile in zshrc #81

Closed
opened 2025-08-02 09:39:11 +02:00 by mfocko · 2 comments
Owner

For Linux it appears to be:

$HOME/.nix-profile/etc/profile.d/nix.sh

But for the macOS:

/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
For Linux it appears to be: $HOME/.nix-profile/etc/profile.d/nix.sh But for the macOS: /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
Author
Owner

Wrong… again! There's no difference with nixpkgs on Debian and macOS, therefore this must be a difference between single and multi-user install… This will be even harder to differentiate 🤦

Wrong… again! There's no difference with nixpkgs on Debian and macOS, therefore this must be a difference between single and multi-user install… This will be even harder to differentiate 🤦
Author
Owner

Maybe based on the SELinux status?

Maybe based on the SELinux status?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mfocko/dotfiles#81
No description provided.