about summary refs log tree commit diff
path: root/pkgs/games/construo
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-15 11:31:39 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-15 13:36:04 +0700
commit2e34288f0d8cf01eea228c7dbc50af9589b885f3 (patch)
tree90b3e8c3181614a7a884130ccbee41d34f514cb7 /pkgs/games/construo
parent93e5d99592cea45837867ca2a379093aaec3fbe8 (diff)
pkgs/games: stdenv.lib -> lib
Diffstat (limited to 'pkgs/games/construo')
-rw-r--r--pkgs/games/construo/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/construo/default.nix b/pkgs/games/construo/default.nix
index 815c2f3fab40f..2565d8599a532 100644
--- a/pkgs/games/construo/default.nix
+++ b/pkgs/games/construo/default.nix
@@ -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;
   };
 }