about summary refs log tree commit diff
path: root/pkgs/games/tibia
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/tibia
parent93e5d99592cea45837867ca2a379093aaec3fbe8 (diff)
pkgs/games: stdenv.lib -> lib
Diffstat (limited to 'pkgs/games/tibia')
-rw-r--r--pkgs/games/tibia/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix
index b8c2c3f3cf430..0892dc2dedd83 100644
--- a/pkgs/games/tibia/default.nix
+++ b/pkgs/games/tibia/default.nix
@@ -1,6 +1,5 @@
-{ stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU, libGL }:
+{ lib, stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU, libGL }:
 
-with stdenv.lib;
 stdenv.mkDerivation {
   name = "tibia-10.90";
 
@@ -24,7 +23,7 @@ stdenv.mkDerivation {
     cp -r * $out/res
 
     patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
-             --set-rpath ${stdenv.lib.makeLibraryPath [ stdenv.cc.cc libX11 libGLU libGL ]} \
+             --set-rpath ${lib.makeLibraryPath [ stdenv.cc.cc libX11 libGLU libGL ]} \
              "$out/res/Tibia"
 
     # We've patchelf'd the files. The main ‘Tibia’ binary is a bit
@@ -50,8 +49,8 @@ stdenv.mkDerivation {
   meta = {
     description = "Top-down MMORPG set in a fantasy world";
     homepage = "http://tibia.com";
-    license = stdenv.lib.licenses.unfree;
+    license = lib.licenses.unfree;
     platforms = ["i686-linux"];
-    maintainers = with stdenv.lib.maintainers; [ ];
+    maintainers = with lib.maintainers; [ ];
   };
 }