build-node-package: make fewer assumptions about the name of the node tarball
This commit is contained in:
@@ -7,7 +7,7 @@ with stdenv.lib;
|
|||||||
let npmFlags = concatStringsSep " " (map (v: "--${v}") flags);
|
let npmFlags = concatStringsSep " " (map (v: "--${v}") flags);
|
||||||
sources = runCommand "node-sources" {} ''
|
sources = runCommand "node-sources" {} ''
|
||||||
tar xf ${nodejs.src}
|
tar xf ${nodejs.src}
|
||||||
mv node-v${nodejs.version} $out
|
mv *node* $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user