On Wed, Jun 13, 2018 at 10:46 PM, Jérémy Lal <kapo...@melix.org> wrote: > > > 2018-06-13 22:09 GMT+02:00 Bastien ROUCARIÈS <roucaries.bast...@gmail.com>: >> >> Package: nodejs >> Version: 10.4.0~dfsg-2 >> Severity: important >> tags: patch >> >> >> Hi, >> >> In order to get search path in multiarch path and in /usr/local I use the >> following patch >> >> ../.. >> >> globalPaths: >> [ '/home/bastien/.node_modules', >> '/home/bastien/.node_libraries', >> '/usr/local/lib/x86_64-linux-gnu/nodejs', >> '/usr/local/share/nodejs', >> '/usr/local/lib/nodejs', >> '/usr/lib/x86_64-linux-gnu/nodejs', >> '/usr/share/nodejs', >> '/usr/lib/nodejs' ], >> >> I have also added arch triplet because some module will need it. > > > Cool ! I'll take only the fix for the require path of > system-multiarch-installed addons. > (nodejs does not search /usr/local - yarn global does not either - only npm > might > be concerned).
Yes and no. Admin could want to delegate to staff group /usr/local and staff group will install under /usr/local. It is the policy, and a SHOULD but it is nice to implement and document. But if you see the list is defined in debian/rules. Not hard coded. > I think it will be easier to explain to upstream once we have an example to > show, > node-mapnik, for instance. Don't know but will let you explain > > Jérémy > > > -- > Pkg-javascript-devel mailing list > Pkg-javascript-devel@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel