djvulibre: move librsvg to nativeBuildInputs

librsvg is only at build time, for generating icons with
rsvg-convert.  Previously, when cross compiling, rsvg-convert wouldn't
be found, and icon generation would be disabled.
This commit is contained in:
Alyssa Ross
2022-08-24 17:58:21 +03:00
committed by Artturin
parent c2cbd5c987
commit 75d86f0e79
+7 -1
View File
@@ -4,6 +4,7 @@
, libtiff
, librsvg
, libiconv
, bash
}:
stdenv.mkDerivation rec {
@@ -17,11 +18,16 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" ];
strictDeps = true;
nativeBuildInputs = [
librsvg
];
buildInputs = [
libjpeg
libtiff
librsvg
libiconv
bash
];
meta = with lib; {