about summary refs log tree commit diff
path: root/pkgs/games/humblebundle/guacamelee.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-21 03:05:36 +0200
committeraszlig <aszlig@nix.build>2018-04-21 03:05:36 +0200
commit8066d9de0a18664336616e602bb06220a9553de4 (patch)
treed5eca876c0aa2d9f4859c313b5d261d184a88db3 /pkgs/games/humblebundle/guacamelee.nix
parent8562389f5e13e42329fc26ca53e9cf54ac0e541e (diff)
pkgs/games: Replace usages of mesa with libGL
This has been changed in NixOS/nixpkgs@6bf1421f13d667c2997b67728cf777c6,
so let's change it here as well.

Quote from the mentioned commit:

  Implement libGL as a symlink package which uses libraries from
  libglvnd and headers from Mesa (since ones from libglvnd are
  outdated).

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/humblebundle/guacamelee.nix')
-rw-r--r--pkgs/games/humblebundle/guacamelee.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/humblebundle/guacamelee.nix b/pkgs/games/humblebundle/guacamelee.nix
index 537ec945..5cc39837 100644
--- a/pkgs/games/humblebundle/guacamelee.nix
+++ b/pkgs/games/humblebundle/guacamelee.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchHumbleBundle, unzip, SDL2, mesa, writeText, makeWrapper }:
+{ stdenv, fetchHumbleBundle, unzip, SDL2, libGL, writeText, makeWrapper }:
 
 stdenv.mkDerivation rec {
   name = "guacamelee-${version}";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ makeWrapper ];
 
   buildPhase = let
-    rpath = stdenv.lib.makeLibraryPath [ SDL2 stdenv.cc.cc mesa ];
+    rpath = stdenv.lib.makeLibraryPath [ SDL2 stdenv.cc.cc libGL ];
     fmodRpath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
   in ''
     gcc -Werror -shared "$preloader" -o preloader.so -ldl \