rep-gtk: fix build by ignoring clang errors (#358417)

This commit is contained in:
Weijia Wang 2024-11-23 15:39:41 +01:00 committed by GitHub
commit 3fdf84e853
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,13 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true; strictDeps = true;
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isClang [
"-Wno-error=implicit-function-declaration"
"-Wno-error=int-conversion"
]
);
patchPhase = '' patchPhase = ''
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
''; '';