From 94e87bd79bd04bc54efef21b93c8bbf5ffec40e8 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 4 Oct 2016 10:16:22 +0200 Subject: [PATCH] lsof: add one more mirror, the second one seems unavailable (and the original site is too picky about NATs) --- pkgs/development/tools/misc/lsof/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/lsof/default.nix b/pkgs/development/tools/misc/lsof/default.nix index ed2f0f101650..da5da2e5ab9a 100644 --- a/pkgs/development/tools/misc/lsof/default.nix +++ b/pkgs/development/tools/misc/lsof/default.nix @@ -11,7 +11,13 @@ stdenv.mkDerivation rec { # the tarball is moved after new version is released isOld: "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/" + "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2" - ) [ false true ]; + ) [ false true ] + ++ map ( + # the tarball is moved after new version is released + isOld: "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/" + + "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2" + ) [ false true ] + ; sha256 = "061p18v0mhzq517791xkjs8a5dfynq1418a1mwxpji69zp2jzb41"; };