mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
build-node-package: make fewer assumptions about the name of the node tarball
This commit is contained in:
parent
a9f8dd2c13
commit
309ec44f40
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue