qpdf: fix cross-compilation

Fixes NixOS#188867
This commit is contained in:
Yves Fischer 2022-08-29 23:48:52 +02:00 committed by Artturin
parent 4f39ada71b
commit cf571a71b9

View file

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib libjpeg ];
configureFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
"--with-random=/dev/urandom";
preCheck = ''
patchShebangs qtest/bin/qtest-driver
'';