fix build-node-package

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-11-26 10:18:42 -05:00
parent 49db8a524c
commit d34e1ac42c

View File

@ -20,6 +20,8 @@ in
stdenv.mkDerivation ({
unpackPhase = "true";
inherit src;
configurePhase = ''
runHook preConfigure
mkdir node_modules
@ -35,7 +37,7 @@ stdenv.mkDerivation ({
buildPhase = ''
runHook preBuild
npm --registry http://www.example.com --nodedir=${sources} install ${concatStringsSep " " src} ${npmFlags}
npm --registry http://www.example.com --nodedir=${sources} install $src ${npmFlags}
runHook postBuild
'';