Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3276195
D4421.id14103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
431 B
Referenced Files
None
Subscribers
None
D4421.id14103.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4421: [nix] Opt-out out of nvm usage with nix
Attached
Detach File
Event Timeline
Log In to Comment