summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-21 03:43:00 +0000
committerOrivej Desh <orivej@gmx.fr>2017-11-21 03:43:18 +0000
commit0b9cd7ad0f3c3aad8553a597bd69453e046df26f (patch)
tree784e7a531191e6a643333df40cf21fedc2587ceb /pkgs
parentab0d141f44715d83a1527829473fe9e5c3b6e5db (diff)
downloadnixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.tar
nixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.tar.gz
nixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.tar.bz2
nixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.tar.lz
nixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.tar.xz
nixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.tar.zst
nixlib-0b9cd7ad0f3c3aad8553a597bd69453e046df26f.zip
pdf2djvu: ignore windres on linux to fix build
https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/typesetting/pdf2djvu/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/pdf2djvu/default.nix b/pkgs/tools/typesetting/pdf2djvu/default.nix
index e4613802892e..847477809406 100644
--- a/pkgs/tools/typesetting/pdf2djvu/default.nix
+++ b/pkgs/tools/typesetting/pdf2djvu/default.nix
@@ -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;