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:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user