unpaper: fix cross compilation

depend on xsltproc from build system architecture
This commit is contained in:
Yves Fischer
2022-09-08 12:40:02 +02:00
committed by Robert Helgesson
parent 4b9e3d1276
commit 5300cdc66a
+3 -3
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, ffmpeg_4, libxslt }:
{ lib, stdenv, fetchurl, buildPackages, pkg-config, ffmpeg_4 }:
stdenv.mkDerivation rec {
pname = "unpaper";
@@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg_4 libxslt ];
nativeBuildInputs = [ pkg-config buildPackages.libxslt.bin ];
buildInputs = [ ffmpeg_4 ];
meta = with lib; {
homepage = "https://www.flameeyes.eu/projects/unpaper";