mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
librsvg: make-fonts-conf: update with correct native deps
This commit is contained in:
parent
a891ae5130
commit
3bcede8f5c
|
@ -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 ];
|
||||
}
|
||||
|
|
|
@ -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
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue