Merge pull request #277117 from trofi/netbsd.libcurses-fix-eval
netbsd.libcurses: fix eval around NIX_CFLAGS_COMPILE
This commit is contained in:
commit
41f6b89814
1 changed files with 2 additions and 2 deletions
|
@ -766,11 +766,11 @@ in makeScopeWithSplicing' {
|
|||
version = "9.2";
|
||||
sha256 = "0pd0dggl3w4bv5i5h0s1wrc8hr66n4hkv3zlklarwfdhc692fqal";
|
||||
buildInputs = with self; [ libterminfo ];
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
env.NIX_CFLAGS_COMPILE = toString ([
|
||||
"-D__scanflike(a,b)="
|
||||
"-D__va_list=va_list"
|
||||
"-D__warn_references(a,b)="
|
||||
] ++ lib.optional stdenv.isDarwin "-D__strong_alias(a,b)=";
|
||||
] ++ lib.optional stdenv.isDarwin "-D__strong_alias(a,b)=");
|
||||
propagatedBuildInputs = with self; compatIfNeeded;
|
||||
MKDOC = "no"; # missing vfontedpr
|
||||
makeFlags = defaultMakeFlags ++ [ "LIBDO.terminfo=${self.libterminfo}/lib" ];
|
||||
|
|
Loading…
Reference in a new issue