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 @@
{ stdenv, fetchurl, unzip, patchelf, xorg, openal }:
{ lib, stdenv, fetchurl, unzip, patchelf, xorg, openal }:
let
urls = file:
@@ -14,9 +14,9 @@ let
nativeBuildInputs = [ unzip patchelf ];
rtdeps = stdenv.lib.makeLibraryPath
rtdeps = lib.makeLibraryPath
[ xorg.libXxf86vm xorg.libXext openal ]
+ ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [ stdenv.cc.cc ];
+ ":" + lib.makeSearchPathOutput "lib" "lib64" [ stdenv.cc.cc ];
buildCommand =
''
@@ -52,7 +52,7 @@ let
description = "Unreal Engine 4 Linux demos";
homepage = "https://wiki.unrealengine.com/Linux_Demos";
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.unfree;
license = lib.licenses.unfree;
};
};