Page MenuHomePhabricator

D4421.id14103.diff
No OneTemporary

D4421.id14103.diff

diff --git a/keyserver/bash/source-nvm.sh b/keyserver/bash/source-nvm.sh
--- a/keyserver/bash/source-nvm.sh
+++ b/keyserver/bash/source-nvm.sh
@@ -4,6 +4,10 @@
# source from: package.json (via npm/yarn scripts)
unset PREFIX
+
+# Nix controls the version of node within the development shell
+[ -n "$IN_NIX_SHELL" ] && exit 0
+
# Intel Mac
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"
# ARM-based Mac

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 7:23 AM (16 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2517973
Default Alt Text
D4421.id14103.diff (431 B)

Event Timeline