diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-01-12 01:00:12 +0000 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-01-12 01:00:12 +0000 |
commit | eeaf5d25d5f6ae7ae1f5bf8a3dee4559693f8147 (patch) | |
tree | afc41ca8dde96b41089ca324533084aef570322f /nixpkgs/pkgs/games/newtonwars | |
parent | 63c4c4dda49dc69e5812faa7ef8406180998f3ae (diff) | |
parent | e4134747f5666bcab8680aff67fa3b63384f9a0f (diff) |
Merge commit 'e4134747f5666bcab8680aff67fa3b63384f9a0f'
Diffstat (limited to 'nixpkgs/pkgs/games/newtonwars')
-rw-r--r-- | nixpkgs/pkgs/games/newtonwars/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/games/newtonwars/default.nix b/nixpkgs/pkgs/games/newtonwars/default.nix index a0ae03cefb7..093f071c723 100644 --- a/nixpkgs/pkgs/games/newtonwars/default.nix +++ b/nixpkgs/pkgs/games/newtonwars/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, makeWrapper, freeglut, libGLU_combined }: +{ stdenv, fetchFromGitHub, makeWrapper, freeglut, libGLU, libGL }: stdenv.mkDerivation { pname = "newtonwars"; @@ -11,7 +11,7 @@ stdenv.mkDerivation { sha256 = "0g63fwfcdxxlnqlagj1fb8ngm385gmv8f7p8b4r1z5cny2znxdvs"; }; - buildInputs = [ makeWrapper freeglut libGLU_combined ]; + buildInputs = [ makeWrapper freeglut libGL libGLU ]; patchPhase = '' sed -i "s;font24.raw;$out/share/font24.raw;g" display.c @@ -26,7 +26,8 @@ stdenv.mkDerivation { wrapProgram $out/bin/nw \ --prefix LD_LIBRARY_PATH ":" ${freeglut}/lib \ - --prefix LD_LIBRARY_PATH ":" ${libGLU_combined}/lib + --prefix LD_LIBRARY_PATH ":" ${libGLU}/lib \ + --prefix LD_LIBRARY_PATH ":" ${libGL}/lib ''; meta = with stdenv.lib; { |