From 70a367577e213ad058943c8b118ae5ed0e3af6b1 Mon Sep 17 00:00:00 2001 From: Benedikt Fein Date: Sun, 13 Oct 2024 08:56:55 +0200 Subject: [PATCH] sioyek: add xpc from apple_sdk on darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let’s see if this fixes the ofborg build. If not, I’ll revert it. Otherwise, I’ll squash it into the previous commit. --- pkgs/by-name/si/sioyek/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/si/sioyek/package.nix b/pkgs/by-name/si/sioyek/package.nix index c348b0ad6da9a..f0d37c0dcba5d 100644 --- a/pkgs/by-name/si/sioyek/package.nix +++ b/pkgs/by-name/si/sioyek/package.nix @@ -5,6 +5,7 @@ fetchFromGitHub, freetype, nix-update-script, + darwin, gumbo, harfbuzz, jbig2dec, @@ -34,7 +35,10 @@ stdenv.mkDerivation (finalAttrs: { qt6.qt3d qt6.qtbase qt6.qtspeech - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ freetype ]; + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.apple_sdk.libs.xpc + freetype + ]; nativeBuildInputs = [ installShellFiles