construo: fix build after libGL transition

This commit is contained in:
Alexander V. Nikolaev
2018-02-24 17:06:49 +02:00
parent 77b23a8e7c
commit 38bd1d7664
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libX11, zlib, xproto, libGLU_combined ? null, freeglut ? null }:
{ stdenv, fetchurl, libX11, zlib, xproto, libGL ? null, freeglut ? null }:
stdenv.mkDerivation rec {
name = "construo-${version}";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ libX11 zlib xproto ]
++ stdenv.lib.optional (libGLU_combined != null) mesa
++ stdenv.lib.optional (libGL != null) libGL
++ stdenv.lib.optional (freeglut != null) freeglut;
preConfigure = ''