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
+2 -2
View File
@@ -38,11 +38,11 @@ stdenv.mkDerivation rec {
sourceRoot = pname;
phases = [ "unpackPhase installPhase" ];
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib stdenv.cc.libc SDL2 SDL2_mixer
libPath = lib.makeLibraryPath [ stdenv.cc.cc.lib stdenv.cc.libc SDL2 SDL2_mixer
libogg libvorbis ];
unpackPhase = ''
# The game is distributed as a shell script, with a tar of mojosetup, and a
# The game is distributed as a shell script, with a tar of mojosetup, and a
# zip archive attached to the end. Therefore a simple unzip does the job.
# However, to avoid unzip errors, we need to strip those out first.
tail -c +421887 ${src} > ${src}.zip