do not print error message
This commit is contained in:
parent
772dd74d1c
commit
1aac37c777
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
||||
'';
|
||||
envExtra = ''
|
||||
if [[ -z `nixos-version` ]]; then
|
||||
if [[ ! -x nixos-version ]]; then
|
||||
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
|
||||
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
||||
echo "non-nixos patches loaded"
|
||||
|
|
Loading…
Reference in a new issue