1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

librsvg: multiple outputs

This commit is contained in:
Thomas Tuegel 2016-04-24 07:58:04 -05:00
parent 6a64edfa0e
commit 160bf21b3a
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
outputs = [ "dev" "out" ];
buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintlOrEmpty ]
++ stdenv.lib.optional enableIntrospection [ gobjectIntrospection ];

View file

@ -23,7 +23,7 @@ let
for prog in ibus ibus-daemon ibus-setup; do
wrapProgram "$out/bin/$prog" \
--prefix GDK_PIXBUF_MODULE_FILE : ${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
--prefix GDK_PIXBUF_MODULE_FILE : ${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH:$out/lib/girepository-1.0" \
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules" \
--set IBUS_COMPONENT_PATH "$out/share/ibus/component/" \