git.iko.soy/typeable/nixpkgs
on master help sign in
brotli: install man pages
commitc4034108453ff8450a58f69244fed3a79716724b authorWill Dietz <w@wdtz.org> dateTue 23 Jan 2018, 06:36 (9 years ago) parent4c36d7e
1 file changed+8
pkgs/tools/compression/brotli/default.nix+8
pkgs/tools/compression/brotli/default.nix+8
@@ -25,6 +25,14 @@ stdenv.mkDerivation rec {
2525 # and the wonderful bazel BUILD file is already there (yay case-insensitivity?)
2626 prePatch = "rm BUILD";
2727
28+ # Don't bother with "man" output for now,
29+ # it currently only makes the manpages hard to use.
30+ postInstall = ''
31+ mkdir -p $out/share/man/man{1,3}
32+ cp ../docs/*.1 $out/share/man/man1/
33+ cp ../docs/*.3 $out/share/man/man3/
34+ '';
35+
2836 meta = with stdenv.lib; {
2937 inherit (src.meta) homepage;
3038