diff options
| author | Paul Colomiets <paul@colomiets.name> | 2014-07-21 18:54:21 +0300 |
|---|---|---|
| committer | Paul Colomiets <paul@colomiets.name> | 2014-07-21 18:54:21 +0300 |
| commit | 7b1a863f1ef3c94338c3ea48cfa3ea94a4539604 (patch) | |
| tree | 780bcdca490a04379a7e36d8b194242ed70b0c5b /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | 430bf4719e56e6448ebf75571787f5a526ed2b47 (diff) | |
Add `--no-same-permission` to `tar` command in node package builder
This is because of an error while using `nix` under Archlinux:
```
building path(s) `/nix/store/rwkcbhv9jfhzhandfslg62knl2xw0r7m-node-sources'
building /nix/store/rwkcbhv9jfhzhandfslg62knl2xw0r7m-node-sources
suspicious ownership or permission on `/nix/store/rwkcbhv9jfhzhandfslg62knl2xw0r7m-node-sources'; rejecting this build output
cannot build derivation `/nix/store/01qsszx9y2kyx1x72zr5magy2la98720-uglify-js-2.4.15.drv': 1 dependencies couldn't be built
```
The permissions on all file are like the following:
```
drwxrwxr-x 1 root root 358 Jun 9 17:04 .
drwxr-xr-x 1 root root 421110 Jul 21 15:49 ..
-rw-rw-r-- 1 root root 22 Jun 9 17:04 .gitattributes
```
After the fix, permissions are OK, and no suspicious error any more.
Error is encountered for any node package built. I'm not sure why it
fails on Arch but work on nixos, but I believe the flag is safe to add
anyway.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
