about summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2016-10-04 10:16:22 +0200
committerMichael Raskin <7c6f434c@mail.ru>2016-10-04 10:16:22 +0200
commit94e87bd79bd04bc54efef21b93c8bbf5ffec40e8 (patch)
tree291bac20fe01214b0fc2da5757ab915598d67c22 /pkgs/development/tools/misc
parent5175808f04836b4dd756b1295542384e3d929380 (diff)
downloadnixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.tar
nixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.tar.gz
nixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.tar.bz2
nixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.tar.lz
nixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.tar.xz
nixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.tar.zst
nixlib-94e87bd79bd04bc54efef21b93c8bbf5ffec40e8.zip
lsof: add one more mirror, the second one seems unavailable (and the original site is too picky about NATs)
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/lsof/default.nix8
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";
   };