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
+3 -3
View File
@@ -44,14 +44,14 @@ stdenv.mkDerivation rec {
buildInputs = [ lzma boost libdevil zlib p7zip openal libvorbis freetype SDL2
xorg.libX11 xorg.libXcursor libGLU libGL glew curl
systemd libunwind which minizip ]
++ stdenv.lib.optional withAI jdk
++ stdenv.lib.optional withAI python;
++ lib.optional withAI jdk
++ lib.optional withAI python;
NIX_CFLAGS_COMPILE = "-fpermissive"; # GL header minor incompatibility
postInstall = ''
wrapProgram "$out/bin/spring" \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc systemd ]}"
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc systemd ]}"
'';
meta = with lib; {