diff options
author | Stanisław Pitucha <git@viraptor.info> | 2022-10-23 14:54:58 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 14:54:58 +1100 |
commit | 501bfba5c2883e52719e1dfc56eeb52e27266635 (patch) | |
tree | bf6b714ae28efe5e893431ae538fac52bfb4186a | |
parent | c836859fa6a4afce43f4908acdb1979b0010fb6b (diff) | |
parent | 7f308439e9c360a7ce8ed23e600d6f885ea61e55 (diff) |
Merge pull request #196411 from viraptor/gnome-obfuscate-darwin
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 4c3eb9b1cbdd7..a2c245b2be8cc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30745,7 +30745,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; |