diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-10-22 20:16:35 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-10-22 21:06:21 +0200 |
commit | 53fa9e865169023ddb54a54e30bb0d2fccf8e050 (patch) | |
tree | c8057bca09f55ee7685c6f8c78e01784d606b4f4 /pkgs/applications/window-managers/ratpoison | |
parent | a0ac2ae35e45b28fe071300de17e51d0ef610507 (diff) |
ratpoison: reduce closure size
- Move contrib to separate output
- Move doc and info to separate outputs
Reduces the closure size from 96 to 38M
Diffstat (limited to 'pkgs/applications/window-managers/ratpoison')
-rw-r--r-- | pkgs/applications/window-managers/ratpoison/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/ratpoison/default.nix b/pkgs/applications/window-managers/ratpoison/default.nix index e550f9fdd83f..810803866890 100644 --- a/pkgs/applications/window-managers/ratpoison/default.nix +++ b/pkgs/applications/window-managers/ratpoison/default.nix @@ -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"; |