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
@@ -41,7 +41,7 @@ let
categories = "Game;";
};
envLibPath = stdenv.lib.makeLibraryPath [
envLibPath = lib.makeLibraryPath [
curl
libpulseaudio
systemd
@@ -50,7 +50,7 @@ let
libXxf86vm # needed only for versions <1.13
];
libPath = stdenv.lib.makeLibraryPath ([
libPath = lib.makeLibraryPath ([
alsaLib
atk
cairo
@@ -137,8 +137,8 @@ stdenv.mkDerivation rec {
# Do not create `GPUCache` in current directory
makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \
--prefix LD_LIBRARY_PATH : ${envLibPath} \
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \
--set JAVA_HOME ${stdenv.lib.getBin jre} \
--prefix PATH : ${lib.makeBinPath [ jre ]} \
--set JAVA_HOME ${lib.getBin jre} \
--run "cd /tmp" \
"''${gappsWrapperArgs[@]}"
'';