Merge pull request #3337 from tailhook/node_permission_error

Add `--no-same-permission` to `tar` command in node package builder
This commit is contained in:
Michael Raskin 2014-08-23 12:38:35 +04:00
commit eaac469f11

View File

@ -8,7 +8,7 @@ let
npmFlags = concatStringsSep " " (map (v: "--${v}") flags); npmFlags = concatStringsSep " " (map (v: "--${v}") flags);
sources = runCommand "node-sources" {} '' sources = runCommand "node-sources" {} ''
tar --no-same-owner -xf ${nodejs.src} tar --no-same-owner --no-same-permissions -xf ${nodejs.src}
mv *node* $out mv *node* $out
''; '';