From e8e0995bd04c4342d0683f235299f7f72c3a940d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 May 2015 13:53:40 +0200 Subject: [PATCH] Fix inputproto and probably other packages "grep Requires" failed on *.pc files that had no Requires fields, due to pipefail. But this error was previously masked by #7524. --- pkgs/servers/x11/xorg/builder.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/x11/xorg/builder.sh b/pkgs/servers/x11/xorg/builder.sh index 6ba50d245075..f5b8803a98a3 100644 --- a/pkgs/servers/x11/xorg/builder.sh +++ b/pkgs/servers/x11/xorg/builder.sh @@ -9,8 +9,10 @@ postInstall() { if test -n "$origPostInstall"; then eval "$origPostInstall"; fi local r p requires + set +o pipefail requires=$(grep "Requires:" $out/lib/pkgconfig/*.pc | \ sed "s/Requires://" | sed "s/,/ /g") + set -o pipefail echo "propagating requisites $requires"