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:
commit
eaac469f11
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user