* Get rid of those annoying "not an attrSet" trace messages.

svn path=/nixpkgs/trunk/; revision=27141
This commit is contained in:
Eelco Dolstra
2011-05-04 12:43:31 +00:00
parent 2881931569
commit b1e93d013c
5 changed files with 16 additions and 44 deletions
+3 -1
View File
@@ -7,7 +7,9 @@
sha256 = "0c661rjasax4ykw77dgqj39jhb4qi48m0bhhdy42vd5a4rfdrcck";
};
buildInputs = [libX11 zlib xproto mesa freeglut];
buildInputs = [ libX11 zlib xproto ]
++ stdenv.lib.optional (mesa != null) mesa
++ stdenv.lib.optional (freeglut != null) freeglut;
preConfigure = builderDefs.stringsWithDeps.fullDepEntry (''
sed -e 's/math[.]h/cmath/' -i vector.cxx
sed -e 's/games/bin/' -i Makefile.in