From eeb5eb2186b2b0e4ba6b65e068026b6b0a234fec Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Wed, 29 Nov 2023 14:09:07 +1100 Subject: [PATCH] rman: fix clang build --- pkgs/development/tools/misc/rman/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/misc/rman/default.nix b/pkgs/development/tools/misc/rman/default.nix index 99f3d8c13e74..c3c044fef000 100644 --- a/pkgs/development/tools/misc/rman/default.nix +++ b/pkgs/development/tools/misc/rman/default.nix @@ -24,11 +24,14 @@ stdenv.mkDerivation rec { 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 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"; license = "artistic"; platforms = lib.platforms.all; + mainProgram = "rman"; }; }