From 81d4b87c3a82bf75ecce7a29ed46c0984567e165 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 18 Nov 2024 22:51:40 -0500 Subject: [PATCH] doc/tauri: use new darwin SDK pattern in example Part of https://github.com/NixOS/nixpkgs/issues/354146 --- doc/hooks/tauri.section.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/doc/hooks/tauri.section.md b/doc/hooks/tauri.section.md index db8d36739a7b2..3fad872e4306e 100644 --- a/doc/hooks/tauri.section.md +++ b/doc/hooks/tauri.section.md @@ -14,7 +14,6 @@ In Nixpkgs, `cargo-tauri.hook` overrides the default build and install phases. rustPlatform, fetchNpmDeps, cargo-tauri, - darwin, glib-networking, nodejs, npmHooks, @@ -54,16 +53,7 @@ rustPlatform.buildRustPackage rec { ++ lib.optionals stdenv.hostPlatform.isLinux [ glib-networking # Most Tauri apps need networking webkitgtk_4_1 - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin ( - with darwin.apple_sdk.frameworks; - [ - AppKit - CoreServices - Security - WebKit - ] - ); + ]; # Set our Tauri source directory cargoRoot = "src-tauri";