From 0b9cd7ad0f3c3aad8553a597bd69453e046df26f Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 21 Nov 2017 03:43:00 +0000 Subject: [PATCH] pdf2djvu: ignore windres on linux to fix build https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910 --- pkgs/tools/typesetting/pdf2djvu/default.nix | 5 +++++ 1 file changed, 5 insertions(+) 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;