summary refs log tree commit diff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-08-30 09:02:44 -0400
committerShea Levy <shea@shealevy.com>2013-08-30 09:02:44 -0400
commitb8872549b74b26a3cf7136888a0b619a7924d3f3 (patch)
treee14f9ed7c43ee285520d98d15a9b065527fcdb7d
parentce47f92b19422f6ae2f80180e5faac93a95d9fb5 (diff)
downloadnixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.tar
nixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.tar.gz
nixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.tar.bz2
nixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.tar.lz
nixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.tar.xz
nixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.tar.zst
nixlib-b8872549b74b26a3cf7136888a0b619a7924d3f3.zip
Fix peerDependency handling in buildNodePackage
Signed-off-by: Shea Levy <shea@shealevy.com>
-rw-r--r--pkgs/development/web/nodejs/build-node-package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix
index 975ec896fe20..217c81d43176 100644
--- a/pkgs/development/web/nodejs/build-node-package.nix
+++ b/pkgs/development/web/nodejs/build-node-package.nix
@@ -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