summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-11-30 06:15:39 +0100
committerGitHub <noreply@github.com>2023-11-30 06:15:39 +0100
commit1a668a1f3efc6fb1487449148986eba74ac9836d (patch)
tree8375c4b46c88355415524566f8c3d6214850e178
parentMerge pull request #271092 from NixOS/backport-270784-to-release-23.11 (diff)
parentrman: fix clang build (diff)
downloadnixpkgs-1a668a1f3efc6fb1487449148986eba74ac9836d.tar.gz
Merge pull request #271089 from NixOS/backport-270794-to-release-23.11
[Backport release-23.11] rman: fix clang build
-rw-r--r--pkgs/development/tools/misc/rman/default.nix3
1 files changed, 3 insertions, 0 deletions
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";
};
}