diff options
author | Alexey Shmalko <rasen.dubi@gmail.com> | 2016-05-29 19:29:02 +0300 |
---|---|---|
committer | Alexey Shmalko <rasen.dubi@gmail.com> | 2016-05-29 19:34:12 +0300 |
commit | 84003b70b6a2e38f8445748f38970a048fe8355c (patch) | |
tree | 3b6e7ba5d5fdcab2a44a31ea81358fca61e064cb /pkgs/applications/misc/xxkb | |
parent | cc41cb30e33a071e4e5e86d277579fc02d0bf7de (diff) |
xxkb: Split into multiple outputs
I'm also adding myself as a maintainer as I'm the original author of the derivation.
Diffstat (limited to 'pkgs/applications/misc/xxkb')
-rw-r--r-- | pkgs/applications/misc/xxkb/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/misc/xxkb/default.nix b/pkgs/applications/misc/xxkb/default.nix index 8d46738327ff7..6d96278356dff 100644 --- a/pkgs/applications/misc/xxkb/default.nix +++ b/pkgs/applications/misc/xxkb/default.nix @@ -18,12 +18,14 @@ stdenv.mkDerivation rec { libX11 libXt libXext libXpm ] ++ stdenv.lib.optional svgSupport [ librsvg glib gdk_pixbuf pkgconfig ]; + outputs = [ "out" "man" ]; + configurePhase = '' xmkmf ${stdenv.lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"} ''; preBuild = '' - makeFlagsArray=( BINDIR=$out/bin PIXMAPDIR=$out/share/xxkb XAPPLOADDIR=$out/etc/X11/app-defaults MANDIR=$out/man ) + makeFlagsArray=( BINDIR=$out/bin PIXMAPDIR=$out/share/xxkb XAPPLOADDIR=$out/etc/X11/app-defaults MANDIR=$man/share/man ) ''; installTargets = "install install.man"; @@ -32,6 +34,7 @@ stdenv.mkDerivation rec { description = "A keyboard layout indicator and switcher"; homepage = "http://xxkb.sourceforge.net/"; license = stdenv.lib.licenses.artistic2; + maintainers = with stdenv.lib.maintainers; [ rasendubi ]; platforms = stdenv.lib.platforms.linux; }; -} \ No newline at end of file +} |