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 -4
View File
@@ -1,4 +1,4 @@
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }:
{ lib, fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }:
stdenv.mkDerivation {
pname = "openarena";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
installPhase = let
gameDir = "$out/openarena-$version";
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ];
libPath = lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ];
arch = {
"x86_64-linux" = "x86_64";
"i386-linux" = "i386";
@@ -36,8 +36,8 @@ stdenv.mkDerivation {
meta = {
description = "Crossplatform openarena client";
homepage = "http://openarena.ws/";
maintainers = [ stdenv.lib.maintainers.wyvie ];
maintainers = [ lib.maintainers.wyvie ];
platforms = [ "i386-linux" "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
};
}