Skip to content

Commit

Permalink
limesuite: disable gui by default and add limesuiteWithGui
Browse files Browse the repository at this point in the history
  • Loading branch information
Tungsten842 committed Apr 12, 2024
1 parent 1042fd8 commit 5ae151d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkgs/applications/radio/limesuite/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
};
}

13 changes: 10 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit 5ae151d

Please sign in to comment.