mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Fix peerDependency handling in buildNodePackage
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
ce47f92b19
commit
b8872549b7
@ -52,7 +52,7 @@ stdenv.mkDerivation ({
|
||||
fi
|
||||
'') args.passthru.names)}
|
||||
${concatStrings (concatMap (dep: map (name: ''
|
||||
mv node_modules/${dep.name} $out/lib/node_modules
|
||||
mv node_modules/${name} $out/lib/node_modules
|
||||
'') dep.names) peerDependencies)}
|
||||
mv node_modules/.bin $out/lib/node_modules 2>/dev/null || true
|
||||
mv node_modules $out/.dependent-node-modules
|
||||
|
Loading…
Reference in New Issue
Block a user