Merge pull request #196411 from viraptor/gnome-obfuscate-darwin

gnome-obfuscate: fix darwin build
This commit is contained in:
Stanisław Pitucha 2022-10-23 14:54:58 +11:00 committed by GitHub
commit 501bfba5c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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