groff: Fix cross-compilation

Fixup the patch from 4f3c8178b8 so it
applies to the current groff.

The patch was removed, but cross-compilation not validated, in #70500.
This commit is contained in:
Samuel Dionne-Riel
2019-11-08 22:05:49 -05:00
parent afa48f16f2
commit 313cef8685
2 changed files with 50 additions and 0 deletions
+4
View File
@@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = false;
patches = [
./0001-Fix-cross-compilation-by-looking-for-ar.patch
];
postPatch = stdenv.lib.optionalString (psutils != null) ''
substituteInPlace src/preproc/html/pre-html.cpp \
--replace "psselect" "${psutils}/bin/psselect"