diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-10-04 10:16:22 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-10-04 10:16:22 +0200 |
commit | 94e87bd79bd04bc54efef21b93c8bbf5ffec40e8 (patch) | |
tree | 291bac20fe01214b0fc2da5757ab915598d67c22 /pkgs | |
parent | 5175808f04836b4dd756b1295542384e3d929380 (diff) |
lsof: add one more mirror, the second one seems unavailable (and the original site is too picky about NATs)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/misc/lsof/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
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"; }; |