summary refs log tree commit diff
path: root/pkgs/games/openarena/default.nix
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/openarena/default.nix
parent93e5d99592cea45837867ca2a379093aaec3fbe8 (diff)
downloadnixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.tar
nixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.tar.gz
nixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.tar.bz2
nixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.tar.lz
nixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.tar.xz
nixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.tar.zst
nixpkgs-2e34288f0d8cf01eea228c7dbc50af9589b885f3.zip
pkgs/games: stdenv.lib -> lib
Diffstat (limited to 'pkgs/games/openarena/default.nix')
-rw-r--r--pkgs/games/openarena/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/games/openarena/default.nix b/pkgs/games/openarena/default.nix
index 577eafb6a8c..7b1f793895e 100644
--- a/pkgs/games/openarena/default.nix
+++ b/pkgs/games/openarena/default.nix
@@ -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;
   };
 }