gnome-obfuscate: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-10-17 23:13:28 +11:00
parent ab6176ac5b
commit 7f308439e9
2 changed files with 6 additions and 1 deletions

View File

@ -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 = ''

View File

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