opensubdiv: Prevent runtime dependency on mesa_noglu.dev

This commit is contained in:
Eelco Dolstra 2016-09-01 17:05:41 +02:00
parent 8b12eee201
commit b688074c51
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa, glew { lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu, mesa_noglu, glew
, cudaSupport ? false, cudatoolkit , cudaSupport ? false, cudatoolkit
}: }:
@ -21,7 +21,7 @@ stdenv.mkDerivation {
]; ];
buildInputs = buildInputs =
[ cmake pkgconfig mesa [ cmake pkgconfig mesa_glu mesa_noglu
# FIXME: these are not actually needed, but the configure script wants them. # FIXME: these are not actually needed, but the configure script wants them.
glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor xorg.libXinerama glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor xorg.libXinerama
] ]

View File

@ -8767,8 +8767,11 @@ in
}; };
in mo.drivers in mo.drivers
); );
mesa = mesaDarwinOr (buildEnv { mesa = mesaDarwinOr (buildEnv {
name = "mesa-${mesa_noglu.version}"; name = "mesa-${mesa_noglu.version}";
# FIXME: this causes mesa to have a runtime dependency on
# mesa_noglu.dev.
paths = [ mesa_noglu.dev mesa_noglu.out mesa_glu ]; paths = [ mesa_noglu.dev mesa_noglu.out mesa_glu ];
meta = { meta = {
platforms = lib.platforms.unix; platforms = lib.platforms.unix;