do not print error message

This commit is contained in:
Cyryl Płotnicki 2019-11-24 10:39:35 +00:00
parent 772dd74d1c
commit 1aac37c777

View file

@ -45,7 +45,7 @@
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"; export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
''; '';
envExtra = '' envExtra = ''
if [[ -z `nixos-version` ]]; then if [[ ! -x nixos-version ]]; then
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH" export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
echo "non-nixos patches loaded" echo "non-nixos patches loaded"