Merge pull request #312690 from eliandoran/darwin/szyszka

szyszka: fix build on darwin
This commit is contained in:
Weijia Wang 2024-05-19 00:43:58 +02:00 committed by GitHub
commit 2e3f58d22c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
@ -9,6 +10,7 @@
, gdk-pixbuf
, gtk4
, wrapGAppsHook4
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -36,7 +38,9 @@ rustPlatform.buildRustPackage rec {
atk
gdk-pixbuf
gtk4
];
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Foundation
]);
meta = with lib; {
description = "A simple but powerful and fast bulk file renamer";