diff options
author | Elian Doran <contact@eliandoran.me> | 2024-05-18 18:39:06 +0300 |
---|---|---|
committer | Elian Doran <contact@eliandoran.me> | 2024-05-18 18:39:06 +0300 |
commit | 8283cd36782e6eac42c827f299fde5b1ef14fbd8 (patch) | |
tree | f35b9d24ef75ed236ae684329d58fc9b72ae06bf | |
parent | 9cc583b9d176d38d31e433f22838c78b74878d23 (diff) |
szyszka: fix build on darwin
-rw-r--r-- | pkgs/tools/misc/szyszka/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/misc/szyszka/default.nix b/pkgs/tools/misc/szyszka/default.nix index 7bcce4158faf0..8be3e0caf8b68 100644 --- a/pkgs/tools/misc/szyszka/default.nix +++ b/pkgs/tools/misc/szyszka/default.nix @@ -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"; |