diff options
author | Graham Christensen <graham@grahamc.com> | 2018-01-24 15:45:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 15:45:16 -0500 |
commit | b8419d56518e7d1a4a4b0377ea451246996e9788 (patch) | |
tree | 4a4723b703324263c0cd458d9138b0641c40193e | |
parent | 9b245b565e8e60b1c2cde8be372d424bb117ada6 (diff) | |
parent | c4034108453ff8450a58f69244fed3a79716724b (diff) | |
download | nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.tar nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.tar.gz nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.tar.bz2 nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.tar.lz nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.tar.xz nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.tar.zst nixlib-b8419d56518e7d1a4a4b0377ea451246996e9788.zip |
Merge pull request #34191 from dtzWill/fix/brotli-misc
brotli: tests, install man pages
-rw-r--r-- | pkgs/tools/compression/brotli/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/compression/brotli/default.nix b/pkgs/tools/compression/brotli/default.nix index 9a35013e3814..45af74b0b3e5 100644 --- a/pkgs/tools/compression/brotli/default.nix +++ b/pkgs/tools/compression/brotli/default.nix @@ -17,10 +17,22 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" "lib" ]; + doCheck = true; + + checkTarget = "test"; + # This breaks on Darwin because our cmake hook tries to make a build folder # and the wonderful bazel BUILD file is already there (yay case-insensitivity?) prePatch = "rm BUILD"; + # Don't bother with "man" output for now, + # it currently only makes the manpages hard to use. + postInstall = '' + mkdir -p $out/share/man/man{1,3} + cp ../docs/*.1 $out/share/man/man1/ + cp ../docs/*.3 $out/share/man/man3/ + ''; + meta = with stdenv.lib; { inherit (src.meta) homepage; |