pkgs/games: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 13:36:04 +07:00
parent 93e5d99592
commit 2e34288f0d
159 changed files with 457 additions and 465 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, libX11
, zlib
@@ -18,9 +18,9 @@ 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;
++ lib.optional (libGL != null) libGL
++ lib.optional (libGLU != null) libGLU
++ lib.optional (freeglut != null) freeglut;
preConfigure = ''
substituteInPlace src/Makefile.in \
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Masses and springs simulation game";
homepage = "http://fs.fsf.org/construo/";
license = stdenv.lib.licenses.gpl3;
license = lib.licenses.gpl3;
};
}