forked from mirrors/nixpkgs
ratpoison: reduce closure size
- Move contrib to separate output - Move doc and info to separate outputs Reduces the closure size from 96 to 38M
This commit is contained in:
parent
a0ac2ae35e
commit
53fa9e8651
|
@ -12,11 +12,19 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1w502z55vv7zs45l80nsllqh9fvfwjfdfi11xy1qikhzdmirains";
|
||||
};
|
||||
|
||||
outputs = [ "out" "contrib" "doc" "info" ];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig perl autoconf automake
|
||||
libX11 inputproto libXt libXpm libXft libXtst xextproto libXi
|
||||
fontconfig freetype readline ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $contrib/{bin,share}
|
||||
mv $out/bin/rpws $contrib/bin
|
||||
mv $out/share/ratpoison $contrib/share
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.nongnu.org/ratpoison/";
|
||||
description = "Simple mouse-free tiling window manager";
|
||||
|
|
Loading…
Reference in a new issue