librsvg: make-fonts-conf: update with correct native deps

This commit is contained in:
Michael Eden 2019-03-08 23:55:02 -05:00 committed by John Ericson
parent a891ae5130
commit 3bcede8f5c
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@
runCommand "fonts.conf"
{
buildInputs = [ libxslt fontconfig ];
nativeBuildInputs = [ libxslt ];
buildInputs = [ fontconfig ];
# Add a default font for non-nixos systems, <1MB and in nixos defaults.
fontDirectories = fontDirectories ++ [ dejavu_fonts.minimal ];
}

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
, bzip2, libcroco, libintl, darwin, rust, gnome3
, bzip2, libcroco, libintl, darwin, rustc, cargo, gnome3
, withGTK ? false, gtk3 ? null
, vala, gobject-introspection }:
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3;
nativeBuildInputs = [ pkgconfig rust.rustc rust.cargo vala gobject-introspection ]
nativeBuildInputs = [ pkgconfig rustc cargo vala gobject-introspection ]
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
ApplicationServices
]);