Skip to content

Commit

Permalink
rman: fix build with GCC 14
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed Nov 26, 2024
1 parent 62e9738 commit bc576cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/by-name/rm/rman/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ stdenv.mkDerivation rec {

hardeningDisable = [ "format" ];

env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types";
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " (
[ "-Wno-error=incompatible-pointer-types" ]
++ lib.optional stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types"
);

doCheck = false; # "check" target is probably meant to do "installcheck" or something

Expand Down

0 comments on commit bc576cf

Please sign in to comment.