diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-04-04 23:06:40 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-04-04 23:07:23 +0200 |
commit | 3db052eb7a41db596ada9db3b89748c6ada55ca8 (patch) | |
tree | 847d726e68fb8020a59f1ed232bfa8b84a29ef7b /pkgs/games/dhewm3 | |
parent | d0d4e66652bc48b561138d6588525f9af3f0acea (diff) |
dhewm3: linking with mesa (for non-nvidia cards)
It was just doing a dlopen(libGL), so mesa wasn't in the rpath.
Now it is.
Diffstat (limited to 'pkgs/games/dhewm3')
-rw-r--r-- | pkgs/games/dhewm3/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/games/dhewm3/default.nix b/pkgs/games/dhewm3/default.nix index 5509c3db1e4f..6036d7fabd55 100644 --- a/pkgs/games/dhewm3/default.nix +++ b/pkgs/games/dhewm3/default.nix @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { sha256 = "0c17k60xhimpqi1xi9s1l7jbc97pqjnk4lgwyjb0agc3dkr73zwd"; }; + # Add mesa linking + patchPhase = '' + sed -i 's/\<idlib\()\?\)$/idlib GL\1/' CMakeLists.txt + ''; + unpackPhase = '' unzip ${src} cd */neo @@ -24,5 +29,5 @@ stdenv.mkDerivation rec { description = "Doom 3 port to SDL"; license = "GPLv3"; }; -} +} |