diff options
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 40caf0e65..371d74409 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -54,7 +54,8 @@ class Node < Formula # make sure npm can find node ENV.prepend_path "PATH", bin - + # make sure user prefix settings in $HOME are ignored + ENV["HOME"] = buildpath/"home" # set log level temporarily for npm's `make install` ENV["NPM_CONFIG_LOGLEVEL"] = "verbose" |
