mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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.
This commit is contained in:
parent
0cc883f2ee
commit
e8e0995bd0
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue