blisp: silence implicit-function-declaration on Darwin

This commit is contained in:
fortuneteller2k 2023-11-17 17:37:10 +08:00
parent b2ebe6221e
commit bfcc179273

View file

@ -32,6 +32,8 @@ stdenv.mkDerivation (finalAttrs: {
"-DBLISP_USE_SYSTEM_LIBRARIES=ON"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=implicit-function-declaration";
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
version = "v${finalAttrs.version}";
@ -42,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.mit;
mainProgram = "blisp";
homepage = "https://github.com/pine64/blisp";
platforms = platforms.unix;
maintainers = [ maintainers.bdd ];
};
})