tptp: use urls instead of url

nix-prefetch-url breaks if the url argument to fetchurl is a list.
This commit is contained in:
Gabriel Ebner 2018-11-15 15:56:18 +01:00
parent b3844d00f6
commit b1c149d47a

View File

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "7.2.0"; version = "7.2.0";
src = fetchurl { src = fetchurl {
url = [ urls = [
"http://www.cs.miami.edu/~tptp/TPTP/Distribution/TPTP-v${version}.tgz" "http://www.cs.miami.edu/~tptp/TPTP/Distribution/TPTP-v${version}.tgz"
"http://www.cs.miami.edu/~tptp/TPTP/Archive/TPTP-v${version}.tgz" "http://www.cs.miami.edu/~tptp/TPTP/Archive/TPTP-v${version}.tgz"
]; ];