diff --git a/pkgs/misc/emulators/higan/default.nix b/pkgs/misc/emulators/higan/default.nix index 558cb53c3d5d..c5f38a040c1f 100644 --- a/pkgs/misc/emulators/higan/default.nix +++ b/pkgs/misc/emulators/higan/default.nix @@ -17,10 +17,7 @@ , udev # Darwin dependencies , libicns -, Carbon -, Cocoa -, OpenAL -, OpenGL +, darwin }: stdenv.mkDerivation rec { @@ -54,12 +51,13 @@ stdenv.mkDerivation rec { libpulseaudio openal udev - ] ++ lib.optionals stdenv.isDarwin [ + ] + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Carbon Cocoa OpenAL OpenGL - ]; + ]); patches = [ # Includes cmath header @@ -151,6 +149,7 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; + broken = stdenv.isDarwin; }; } # TODO: select between Qt, GTK2 and GTK3 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a545271e2d95..6acdb733894a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33938,9 +33938,7 @@ with pkgs; python = python3; }; - higan = callPackage ../misc/emulators/higan { - inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL OpenAL; - }; + higan = callPackage ../misc/emulators/higan { }; bsnes-hd = callPackage ../misc/emulators/bsnes-hd { inherit (gnome2) gtksourceview;