pkgs/games: stdenv.lib -> lib
This commit is contained in:
@@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user