add fix for nix

This commit is contained in:
Philip Henning 2024-03-12 19:41:58 +01:00
parent de0cccad03
commit d1f9072855

View file

@ -200,6 +200,11 @@ export PATH="${brew_path}:${PATH}"
# Include /opt/homebrew/opt/gnu-getopt/bin to PATH # Include /opt/homebrew/opt/gnu-getopt/bin to PATH
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}" [[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
# Fix nix inbetween systemupdates
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
{%@@ endif @@%} {%@@ endif @@%}
# Functions (or more complex aliases) # Functions (or more complex aliases)