diff --git a/pkgs/applications/graphics/tev/default.nix b/pkgs/applications/graphics/tev/default.nix index 7a5dde82f16..e32226ad2f9 100644 --- a/pkgs/applications/graphics/tev/default.nix +++ b/pkgs/applications/graphics/tev/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { license = licenses.bsd3; platforms = platforms.unix; badPlatforms = [ "aarch64-linux" ]; # fails on Hydra since forever + broken = stdenv.isDarwin; # needs apple frameworks + SDK fix? see #205247 maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/desktops/gnome/core/zenity/default.nix b/pkgs/desktops/gnome/core/zenity/default.nix index cd6a9c59c74..1bb1f4384b5 100644 --- a/pkgs/desktops/gnome/core/zenity/default.nix +++ b/pkgs/desktops/gnome/core/zenity/default.nix @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool to display dialogs from the commandline and shell scripts"; homepage = "https://wiki.gnome.org/Projects/Zenity"; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = teams.gnome.members; }; } diff --git a/pkgs/development/lua-modules/nfd/default.nix b/pkgs/development/lua-modules/nfd/default.nix index ab6e1b83d79..148b074666e 100644 --- a/pkgs/development/lua-modules/nfd/default.nix +++ b/pkgs/development/lua-modules/nfd/default.nix @@ -1,5 +1,5 @@ -{ fetchFromGitHub, buildLuarocksPackage, lua, pkg-config, lib -, substituteAll, zenity }: +{ stdenv, fetchFromGitHub, buildLuarocksPackage, lua, pkg-config, lib +, substituteAll, zenity, AppKit }: buildLuarocksPackage { pname = "nfd"; @@ -25,6 +25,8 @@ buildLuarocksPackage { extraVariables.LUA_LIBDIR = "${lua}/lib"; nativeBuildInputs = [ pkg-config ]; + buildInputs = lib.optionals stdenv.isDarwin [ AppKit ]; + fixupPhase = '' find $out -name nfd_zenity.so -execdir mv {} nfd.so \; ''; diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index 3617e763233..261f92c498c 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -95,6 +95,7 @@ in nfd = callPackage ../development/lua-modules/nfd { inherit (pkgs.gnome) zenity; + inherit (pkgs.darwin.apple_sdk.frameworks) AppKit; }; vicious = (callPackage ({ fetchFromGitHub }: stdenv.mkDerivation rec {