From dd7d9801c5340e26965d8decd87b7b01f13cabe6 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 23 Feb 2025 23:32:34 +0200 Subject: [PATCH] tectonic: cleanup Darwin specific apple_sdk usage --- .../by-name/te/tectonic-unwrapped/package.nix | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/pkgs/by-name/te/tectonic-unwrapped/package.nix b/pkgs/by-name/te/tectonic-unwrapped/package.nix index e9b9dcb2c815..197568c236d5 100644 --- a/pkgs/by-name/te/tectonic-unwrapped/package.nix +++ b/pkgs/by-name/te/tectonic-unwrapped/package.nix @@ -11,7 +11,6 @@ stdenv, fetchFromGitHub, rustPlatform, - darwin, fontconfig, harfbuzzFull, openssl, @@ -56,21 +55,12 @@ rustPlatform.buildRustPackage rec { buildFeatures = [ "external-harfbuzz" ]; - buildInputs = - [ - icu - fontconfig - harfbuzzFull - openssl - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin ( - with darwin.apple_sdk.frameworks; - [ - ApplicationServices - Cocoa - Foundation - ] - ); + buildInputs = [ + icu + fontconfig + harfbuzzFull + openssl + ]; postInstall = ''