From b8872549b74b26a3cf7136888a0b619a7924d3f3 Mon Sep 17 00:00:00 2001 From: Shea Levy <shea@shealevy.com> Date: Fri, 30 Aug 2013 09:02:44 -0400 Subject: [PATCH] Fix peerDependency handling in buildNodePackage Signed-off-by: Shea Levy <shea@shealevy.com> --- pkgs/development/web/nodejs/build-node-package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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