openarena: needs libcurl for fast assets downloads
This commit is contained in:
parent
0520634725
commit
b6dbdaa28c
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libogg, libvorbis }:
|
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libogg, libvorbis, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openarena-${version}";
|
name = "openarena-${version}";
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = let
|
installPhase = let
|
||||||
gameDir = "$out/openarena-$version";
|
gameDir = "$out/openarena-$version";
|
||||||
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
|
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
|
||||||
libPath = stdenv.lib.makeLibraryPath [ SDL libogg libvorbis ];
|
libPath = stdenv.lib.makeLibraryPath [ SDL libogg libvorbis curl ];
|
||||||
in ''
|
in ''
|
||||||
mkdir -pv $out/bin
|
mkdir -pv $out/bin
|
||||||
cd $out
|
cd $out
|
||||||
|
|
Loading…
Reference in a new issue