build-node-package: make fewer assumptions about the name of the node tarball

This commit is contained in:
Shea Levy 2012-09-20 14:45:31 -04:00
parent a9f8dd2c13
commit 309ec44f40

View File

@ -7,7 +7,7 @@ with stdenv.lib;
let npmFlags = concatStringsSep " " (map (v: "--${v}") flags);
sources = runCommand "node-sources" {} ''
tar xf ${nodejs.src}
mv node-v${nodejs.version} $out
mv *node* $out
'';
in