doc/tauri: stdenv.is* -> stdenv.hostPlatform.is* (#355251)

This commit is contained in:
Artturin 2024-11-12 03:51:04 +02:00 committed by GitHub
commit e29fc9e9a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,12 +52,12 @@ rustPlatform.buildRustPackage rec {
buildInputs =
[ openssl ]
++ lib.optionals stdenv.isLinux [
++ lib.optionals stdenv.hostPlatform.isLinux [
glib-networking # Most Tauri apps need networking
libsoup
webkitgtk_4_0
]
++ lib.optionals stdenv.isDarwin (
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit