about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-11-17 19:30:44 +0100
committerGitHub <noreply@github.com>2023-11-17 19:30:44 +0100
commit867939d701e6e274e1642a174b0cbcc522a1c193 (patch)
treecca7be58a5afb0f1627a0c6dec1bf2478a5fd550
parentd226c63a6d839e358c71f757a7baf73e76c2340b (diff)
parentbfcc17927387d14a1f20ef3c194ba1b2cf327b47 (diff)
Merge pull request #268069 from moni-dz/blisp-nspath
blisp: silence implicit-function-declaration on Darwin
-rw-r--r--pkgs/development/embedded/blisp/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/embedded/blisp/default.nix b/pkgs/development/embedded/blisp/default.nix
index 093e0ef195ca0..027ca82324f8a 100644
--- a/pkgs/development/embedded/blisp/default.nix
+++ b/pkgs/development/embedded/blisp/default.nix
@@ -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 ];
   };
 })