rman: fix clang build

This commit is contained in:
Emily Trau 2023-11-29 14:09:07 +11:00
parent 10ee18ca92
commit eeb5eb2186

View file

@ -24,11 +24,14 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types";
doCheck = false; # "check" target is probably meant to do "installcheck" or something doCheck = false; # "check" target is probably meant to do "installcheck" or something
meta = { meta = {
description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats"; description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
license = "artistic"; license = "artistic";
platforms = lib.platforms.all; platforms = lib.platforms.all;
mainProgram = "rman";
}; };
} }