don't use non-nixos patches on darwin
This commit is contained in:
parent
3d6dd759c4
commit
e8edef6d38
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
|||
[ -s "/home/cyryl/.jabba/jabba.sh" ] && source "/home/cyryl/.jabba/jabba.sh"
|
||||
tmux source-file ~/.config/tmux/tmux.conf
|
||||
local nixos_version=`which nixos-version`
|
||||
if [[ ! -x "$nixos_version" ]]; then
|
||||
if [[ ! -x "$nixos_version" && ! `uname` == "Darwin" ]]; then
|
||||
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
|
||||
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
|
|
Loading…
Reference in a new issue