Merge pull request #34191 from dtzWill/fix/brotli-misc
brotli: tests, install man pages
This commit is contained in:
commit
b8419d5651
@ -17,10 +17,22 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" "lib" ];
|
outputs = [ "out" "dev" "lib" ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
checkTarget = "test";
|
||||||
|
|
||||||
# This breaks on Darwin because our cmake hook tries to make a build folder
|
# 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?)
|
# and the wonderful bazel BUILD file is already there (yay case-insensitivity?)
|
||||||
prePatch = "rm BUILD";
|
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; {
|
meta = with stdenv.lib; {
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user