mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
xfig: Fix build failure now visible due to #7524
The first 'find' command in postUnpack that attempts to add +x permissions fails, because the +x permission is needed by the find itself, and with the xargs method it's added too late.
This commit is contained in:
parent
e6ca18e9bf
commit
3dafe7a466
@ -5,8 +5,7 @@ makeFlags="XAWLIB=-lXaw3d BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults
|
||||
# We need chmod +wx on dirs, not just chmod +w
|
||||
dontMakeSourcesWritable=1
|
||||
postUnpack() {
|
||||
find . -type d | xargs -n1 chmod +x
|
||||
find . -type d | xargs -n1 chmod +x
|
||||
find . -type d -exec chmod +x '{}' \;
|
||||
}
|
||||
|
||||
preBuild() {
|
||||
|
Loading…
Reference in New Issue
Block a user