mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
mesa: attempt to fix driverLink on darwin
This commit is contained in:
parent
de5b992ecf
commit
b6bb1e513d
@ -4977,7 +4977,8 @@ let
|
|||||||
mesaSupported = lib.elem system lib.platforms.mesaPlatforms;
|
mesaSupported = lib.elem system lib.platforms.mesaPlatforms;
|
||||||
|
|
||||||
mesa_original = callPackage ../development/libraries/mesa { };
|
mesa_original = callPackage ../development/libraries/mesa { };
|
||||||
mesa_noglu = if stdenv.isDarwin then darwinX11AndOpenGL
|
mesa_noglu = if stdenv.isDarwin
|
||||||
|
then darwinX11AndOpenGL // { driverLink = mesa_noglu; }
|
||||||
else mesa_original;
|
else mesa_original;
|
||||||
mesa_drivers = mesa_original.drivers;
|
mesa_drivers = mesa_original.drivers;
|
||||||
mesa_glu = callPackage ../development/libraries/mesa-glu { };
|
mesa_glu = callPackage ../development/libraries/mesa-glu { };
|
||||||
|
Loading…
Reference in New Issue
Block a user