Merge pull request #312690 from eliandoran/darwin/szyszka
szyszka: fix build on darwin
This commit is contained in:
commit
2e3f58d22c
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user