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