Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 760857 Details for
Bug 830298
net-libs/nodejs: Gentoo-specific patch prevents using NPM in custom ebuilds (sandbox violation)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated gentoo-specific NPM global config patch
nodejs-10.3.0-global-npm-config.patch (text/plain), 767 bytes, created by
Raphaël Barrois
on 2021-12-30 15:23:21 UTC
(
hide
)
Description:
Updated gentoo-specific NPM global config patch
Filename:
MIME Type:
Creator:
Raphaël Barrois
Created:
2021-12-30 15:23:21 UTC
Size:
767 bytes
patch
obsolete
>--- a/deps/npm/lib/config/core.js >+++ b/deps/npm/lib/config/core.js >@@ -153,11 +153,12 @@ > // Eg, `npm config get globalconfig --prefix ~/local` should > // return `~/local/etc/npmrc` > // annoying humans and their expectations! >- if (conf.get('prefix')) { >- var etc = path.resolve(conf.get('prefix'), 'etc') >- defaults.globalconfig = path.resolve(etc, 'npmrc') >- defaults.globalignorefile = path.resolve(etc, 'npmignore') >- } >+ // gentoo deviates wrt global config; store in /etc/npm >+ var globalconfig = path.resolve('/etc', 'npm') >+ defaults.globalconfig = path.resolve(globalconfig, 'npmrc') >+ defaults.globalignorefile = path.resolve(globalconfig, 'npmignore') > > conf.addFile(conf.get('globalconfig'), 'global') >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 830298
: 760857