rep-gtk: fix build by ignoring clang errors (#358417)
This commit is contained in:
commit
3fdf84e853
@ -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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user