1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

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 { };