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
+4 -5
View File
@@ -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; [ ];
};
}