qpdf: fix cross-compilation
Fixes NixOS#188867
This commit is contained in:
parent
4f39ada71b
commit
cf571a71b9
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue