@@ -17,10 +17,22 @@ stdenv.mkDerivation rec {
1717
1818 outputs = [ "out" "dev" "lib" ];
1919
20+ doCheck = true;
21+
22+ checkTarget = "test";
23+
2024 # This breaks on Darwin because our cmake hook tries to make a build folder
2125 # and the wonderful bazel BUILD file is already there (yay case-insensitivity?)
2226 prePatch = "rm BUILD";
2327
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+
2436 meta = with stdenv.lib; {
2537 inherit (src.meta) homepage;
2638