Skip to content

Commit

Permalink
rep-gtk: fix build by ignoring clang errors (#358417)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Nov 23, 2024
2 parents 695b7fd + 4d1e1e5 commit 3fdf84e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/by-name/re/rep-gtk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ stdenv.mkDerivation (finalAttrs: {

strictDeps = true;

env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isClang [
"-Wno-error=implicit-function-declaration"
"-Wno-error=int-conversion"
]
);

patchPhase = ''
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
'';
Expand Down

0 comments on commit 3fdf84e

Please sign in to comment.