diff --git a/pkgs/games/gemrb/default.nix b/pkgs/games/gemrb/default.nix index ca974d63de2d..aae7241cf883 100644 --- a/pkgs/games/gemrb/default.nix +++ b/pkgs/games/gemrb/default.nix @@ -18,11 +18,6 @@ stdenv.mkDerivation rec { # Can't have -werror because of the Vorbis header files. cmakeFlags = "-DDISABLE_WERROR=ON -DCMAKE_VERBOSE_MAKEFILE=ON"; - # !!! Ugly. CMake passes library dependencies to the linker using - # the full path of the library rather than `-l...', and the - # ld-wrapper doesn't add the necessary `-rpath' flag. - NIX_LDFLAGS = "-rpath ${zlib}/lib -rpath ${libpng}/lib -rpath ${python}/lib -rpath ${openal}/lib -rpath ${SDL}/lib -rpath ${libvorbis}/lib"; - meta = { description = "A reimplementation of the Infinity Engine, used by games such as Baldur's Gate"; homepage = http://gemrb.sourceforge.net/; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bad773df55ad..f88259da6d6f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6565,7 +6565,9 @@ let wxGTK = wxGTK28.override { unicode = false; }; }; - gemrb = callPackage ../games/gemrb { }; + gemrb = callPackage ../games/gemrb { + stdenv = stdenv2; + }; gltron = callPackage ../games/gltron { };