mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
construo: fix build
This commit is contained in:
parent
936c7c5e2b
commit
1ca8255fb2
@ -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 = ''
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user