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-07-14 10:52:00 +00:00 committed by Artturin
parent c2cbd5c987
commit 75d86f0e79

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; {