diff --git a/pkgs/applications/radio/limesuite/default.nix b/pkgs/applications/radio/limesuite/default.nix index f92b63a9ba983..d8d7bcd22d0a8 100644 --- a/pkgs/applications/radio/limesuite/default.nix +++ b/pkgs/applications/radio/limesuite/default.nix @@ -2,7 +2,7 @@ , sqlite, wxGTK32, libusb1, soapysdr , mesa_glu, libX11, gnuplot, fltk , GLUT -, withGui ? !stdenv.isDarwin # withGui transitively depends on mesa, which is broken on darwin +, withGui ? false }: stdenv.mkDerivation rec { @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { license = licenses.asl20; maintainers = with maintainers; [ markuskowa ]; platforms = platforms.unix; + badPlatforms = lib.optionals withGui platforms.darwin; # withGui transitively depends on mesa, which is broken on darwin }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f7c78d560d04a..4aba97376755a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10490,9 +10490,16 @@ with pkgs; lidarr = callPackage ../servers/lidarr { }; - limesuite = callPackage ../applications/radio/limesuite { - inherit (darwin.apple_sdk.frameworks) GLUT; - }; + inherit ({ + limesuite = callPackage ../applications/radio/limesuite { + inherit (darwin.apple_sdk.frameworks) GLUT; + }; + limesuiteWithGui = limesuite.override { + withGui = true; + }; + }) + limesuite + limesuiteWithGui; limesurvey = callPackage ../servers/limesurvey { };