mesa: keep llvm versioning outside of expression file
This commit is contained in:
parent
1cb146f3e1
commit
45a3e8580c
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, flex, bison, autoreconfHook
|
||||
, python, libxml2Python, file, expat, makedepend
|
||||
, libdrm, xorg, wayland, udev, llvm_34, libffi
|
||||
, libdrm, xorg, wayland, udev, llvm, libffi
|
||||
, libvdpau, libelf
|
||||
, enableTextureFloats ? false # Texture floats are patented, see docs/patents.txt
|
||||
, enableExtraFeatures ? false # not maintained
|
||||
@ -85,7 +85,7 @@ stdenv.mkDerivation {
|
||||
++ optionals stdenv.isLinux [libdrm]
|
||||
;
|
||||
buildInputs = with xorg; [
|
||||
autoreconfHook intltool expat libxml2Python llvm_34
|
||||
autoreconfHook intltool expat libxml2Python llvm
|
||||
libXfixes glproto dri2proto libX11 libXext libxcb libXt
|
||||
libffi wayland libvdpau libelf
|
||||
] ++ optionals enableExtraFeatures [ /*libXvMC*/ ]
|
||||
|
@ -5244,7 +5244,9 @@ let
|
||||
|
||||
mesaSupported = lib.elem system lib.platforms.mesaPlatforms;
|
||||
|
||||
mesa_original = callPackage ../development/libraries/mesa { };
|
||||
mesa_original = callPackage ../development/libraries/mesa {
|
||||
llvm = llvm_34;
|
||||
};
|
||||
mesa_noglu = if stdenv.isDarwin
|
||||
then darwinX11AndOpenGL // { driverLink = mesa_noglu; }
|
||||
else mesa_original;
|
||||
|
Loading…
x
Reference in New Issue
Block a user