Remove deprecated Apple SDK frameworks pattern (#543)

This commit is contained in:
Thierry Delafontaine
2025-10-25 23:43:25 +02:00
committed by GitHub
parent a8cbc352ff
commit 0ddded3b8b
2 changed files with 3 additions and 12 deletions

4
Cargo.lock generated
View File

@@ -2916,9 +2916,9 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
[[package]] [[package]]
name = "mac-notification-sys" name = "mac-notification-sys"
version = "0.6.4" version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b95dfb34071d1592b45622bf93e315e3a72d414b6782aca9a015c12bec367ef" checksum = "4ee70bb2bba058d58e252d2944582d634fc884fc9c489a966d428dedcf653e97"
dependencies = [ dependencies = [
"cc", "cc",
"objc2", "objc2",

View File

@@ -34,16 +34,7 @@
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = buildInputs = [ openssl ];
[ openssl ]
++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
Security
Cocoa
]
);
}; };
devShell = mkShell { devShell = mkShell {