From 12d623b9a89777dba07ed67579d7ba911dd2f85f Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 4 Nov 2024 22:53:56 -0600 Subject: [PATCH] berry: fix darwin build --- pkgs/by-name/be/berry/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/be/berry/package.nix b/pkgs/by-name/be/berry/package.nix index b2773c0fd0e7..fa12be670cdc 100644 --- a/pkgs/by-name/be/berry/package.nix +++ b/pkgs/by-name/be/berry/package.nix @@ -55,6 +55,8 @@ stdenv.mkDerivation (finalAttrs: { patchShebangs configure ''; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_C99_SOURCE"; + desktopItems = [ (makeDesktopItem { name = "berry";