szyszka: fix build on darwin

This commit is contained in:
Elian Doran 2024-05-18 18:39:06 +03:00
parent 9cc583b9d1
commit 8283cd3678
No known key found for this signature in database

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";