unpaper: fix cross compilation

depend on xsltproc from build system architecture

authored by

Yves Fischer and committed by
Robert Helgesson
5300cdc6 4b9e3d12

+3 -3
+3 -3
pkgs/tools/graphics/unpaper/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, ffmpeg_4, libxslt }: 1 + { lib, stdenv, fetchurl, buildPackages, pkg-config, ffmpeg_4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "unpaper"; ··· 9 9 sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkg-config ]; 13 - buildInputs = [ ffmpeg_4 libxslt ]; 12 + nativeBuildInputs = [ pkg-config buildPackages.libxslt.bin ]; 13 + buildInputs = [ ffmpeg_4 ]; 14 14 15 15 meta = with lib; { 16 16 homepage = "https://www.flameeyes.eu/projects/unpaper";