guile-reader: fix build with clang 16
This commit is contained in:
parent
263a89fa08
commit
07b331e833
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,11 @@ stdenv.mkDerivation rec {
|
|||
libffi
|
||||
];
|
||||
|
||||
env.GUILE_SITE = "${guile-lib}/${guile.siteDir}";
|
||||
env = {
|
||||
GUILE_SITE = "${guile-lib}/${guile.siteDir}";
|
||||
} // lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
configureFlags = [ "--with-guilemoduledir=$(out)/${guile.siteDir}" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue