diff options
author | Stanisław Pitucha <stan.pitucha@envato.com> | 2022-10-17 23:13:28 +1100 |
---|---|---|
committer | Stanisław Pitucha <stan.pitucha@envato.com> | 2022-10-17 23:13:28 +1100 |
commit | 7f308439e9c360a7ce8ed23e600d6f885ea61e55 (patch) | |
tree | 32cdb1ec04cc70701e9ce4050d4f2437546e7eab | |
parent | ab6176ac5b0ee4f18e9cb380a41a6e1816c7bc89 (diff) |
gnome-obfuscate: fix darwin build
-rw-r--r-- | pkgs/applications/graphics/gnome-obfuscate/default.nix | 3 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gnome-obfuscate/default.nix b/pkgs/applications/graphics/gnome-obfuscate/default.nix index 1fca4d2004e24..4dc186c5f8436 100644 --- a/pkgs/applications/graphics/gnome-obfuscate/default.nix +++ b/pkgs/applications/graphics/gnome-obfuscate/default.nix @@ -15,6 +15,7 @@ , glib , gtk4 , libadwaita +, Foundation }: stdenv.mkDerivation rec { @@ -54,6 +55,8 @@ stdenv.mkDerivation rec { glib gtk4 libadwaita + ] ++ lib.optionals stdenv.isDarwin [ + Foundation ]; postPatch = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac51b9fcc46b8..16ff64f788298 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30608,7 +30608,9 @@ with pkgs; obconf = callPackage ../tools/X11/obconf { }; - gnome-obfuscate = callPackage ../applications/graphics/gnome-obfuscate { }; + gnome-obfuscate = callPackage ../applications/graphics/gnome-obfuscate { + inherit (darwin.apple_sdk.frameworks) Foundation; + }; obs-studio = libsForQt5.callPackage ../applications/video/obs-studio { ffmpeg_4 = ffmpeg-full; |