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