3
0
Fork 0
forked from mirrors/nixpkgs

pdf2djvu: ignore windres on linux to fix build

https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
This commit is contained in:
Orivej Desh 2017-11-21 03:43:00 +00:00
parent ab0d141f44
commit 0b9cd7ad0f

View file

@ -15,8 +15,13 @@ stdenv.mkDerivation rec {
preConfigure = ''
sed -i 's#\$djvulibre_bin_path#${djvulibre.bin}/bin#g' configure
# Configure skips the failing check for usability of windres when it is nonempty.
unset WINDRES
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Creates djvu files from PDF files";
homepage = https://jwilk.net/software/pdf2djvu;