mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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;
|
||||
|
||||
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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user