construo: fix build

This commit is contained in:
Michael Raskin 2019-11-22 17:19:06 +01:00
parent 936c7c5e2b
commit 1ca8255fb2
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libX11, zlib, xorgproto, libGL ? null, freeglut ? null }:
{ stdenv, fetchurl, libX11, zlib, xorgproto, libGL ? null, libGLU ? null, freeglut ? null }:
stdenv.mkDerivation rec {
pname = "construo";
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libX11 zlib xorgproto ]
++ stdenv.lib.optional (libGL != null) libGL
++ stdenv.lib.optional (libGLU != null) libGLU
++ stdenv.lib.optional (freeglut != null) freeglut;
preConfigure = ''

View File

@ -22542,12 +22542,12 @@ in
construoBase = lowPrio (callPackage ../games/construo {
libGL = null;
libGLU = null;
freeglut = null;
});
construo = construoBase.override {
inherit freeglut;
libGL = libGLU_combined;
inherit freeglut libGL libGLU;
};
crack_attack = callPackage ../games/crack-attack { };