mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03: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
@ -9,8 +9,10 @@ postInstall() {
|
|||||||
if test -n "$origPostInstall"; then eval "$origPostInstall"; fi
|
if test -n "$origPostInstall"; then eval "$origPostInstall"; fi
|
||||||
|
|
||||||
local r p requires
|
local r p requires
|
||||||
|
set +o pipefail
|
||||||
requires=$(grep "Requires:" $out/lib/pkgconfig/*.pc | \
|
requires=$(grep "Requires:" $out/lib/pkgconfig/*.pc | \
|
||||||
sed "s/Requires://" | sed "s/,/ /g")
|
sed "s/Requires://" | sed "s/,/ /g")
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
echo "propagating requisites $requires"
|
echo "propagating requisites $requires"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user