fox: use mesa_glu explicitly

Drop the seemingly‐unused CoreServices dependency while we’re at it.
This commit is contained in:
Emily 2024-06-21 06:59:47 +01:00
parent ee6ffaf921
commit 25f7f9a636
2 changed files with 3 additions and 8 deletions

View File

@ -6,13 +6,11 @@
, libtiff
, zlib
, bzip2
, libGL
, libGLU
, mesa_glu
, libXcursor
, libXext
, libXrandr
, libXft
, CoreServices
}:
stdenv.mkDerivation rec {
@ -24,8 +22,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-bu+IEqNkv9OAf96dPYre3CP759pjalVIbYyc3QSQW2w=";
};
buildInputs = [ libpng libjpeg libtiff zlib bzip2 libGL libGLU libXcursor libXext libXrandr libXft ]
++ lib.optional stdenv.isDarwin CoreServices;
buildInputs = [ libpng libjpeg libtiff zlib bzip2 mesa_glu libXcursor libXext libXrandr libXft ];
doCheck = true;

View File

@ -8026,9 +8026,7 @@ with pkgs;
fortune = callPackage ../tools/misc/fortune { };
fox = callPackage ../development/libraries/fox {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
fox = callPackage ../development/libraries/fox {};
fox_1_6 = callPackage ../development/libraries/fox/fox-1.6.nix {
inherit (darwin.apple_sdk.frameworks) CoreServices;