limesuite: disable gui by default and add limesuiteWithGui

This commit is contained in:
Tungsten842 2024-04-13 00:16:35 +02:00
parent 1042fd8b14
commit 5ae151de0e
2 changed files with 12 additions and 4 deletions

View file

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

View file

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