diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-30 06:15:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 06:15:39 +0100 |
commit | 1a668a1f3efc6fb1487449148986eba74ac9836d (patch) | |
tree | 8375c4b46c88355415524566f8c3d6214850e178 | |
parent | ffe21cda8f7411ebaa9cf5e135933013790fa255 (diff) | |
parent | 46e6f3d07742dccb5dd3ab055370d1d6af4f3032 (diff) |
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.nix | 3 |
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 99f3d8c13e744..c3c044fef0009 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"; }; } |