Skip to content

Commit

Permalink
librsvg: make-fonts-conf: update with correct native deps
Browse files Browse the repository at this point in the history
  • Loading branch information
illegalprime authored and Ericson2314 committed Mar 29, 2019
1 parent a891ae5 commit 3bcede8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/fontconfig/make-fonts-conf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
}
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/librsvg/default.nix
Original file line number Diff line number Diff line change
@@ -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 }:

Expand All @@ -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
]);
Expand Down

0 comments on commit 3bcede8

Please sign in to comment.