openarena: needs libcurl for fast assets downloads

This commit is contained in:
Franz Pletz 2018-04-24 17:04:47 +02:00
parent 0520634725
commit b6dbdaa28c
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -1,4 +1,4 @@
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libogg, libvorbis }:
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libogg, libvorbis, curl }:
stdenv.mkDerivation rec {
name = "openarena-${version}";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
installPhase = let
gameDir = "$out/openarena-$version";
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
libPath = stdenv.lib.makeLibraryPath [ SDL libogg libvorbis ];
libPath = stdenv.lib.makeLibraryPath [ SDL libogg libvorbis curl ];
in ''
mkdir -pv $out/bin
cd $out