guile-ncurses: fix build on darwin
This commit is contained in:
parent
12bcee759d
commit
8e9dcabab7
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
|
|||
"--with-gnu-filesystem-hierarchy"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
for f in $out/${guile.siteDir}/ncurses/**.scm; do \
|
||||
substituteInPlace $f \
|
||||
|
|
Loading…
Reference in a new issue