From 309ec44f404e30ede5cfcdbd01b614da5ff771c3 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 20 Sep 2012 14:45:31 -0400 Subject: [PATCH] build-node-package: make fewer assumptions about the name of the node tarball --- pkgs/development/web/nodejs/build-node-package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix index 41550a725298..95d10db167f1 100644 --- a/pkgs/development/web/nodejs/build-node-package.nix +++ b/pkgs/development/web/nodejs/build-node-package.nix @@ -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