fix build-node-package
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
49db8a524c
commit
d34e1ac42c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue