3
0
Fork 0
forked from mirrors/nixpkgs

lsof: add one more mirror, the second one seems unavailable (and the original site is too picky about NATs)

This commit is contained in:
Michael Raskin 2016-10-04 10:16:22 +02:00
parent 5175808f04
commit 94e87bd79b

View file

@ -11,7 +11,13 @@ stdenv.mkDerivation rec {
# the tarball is moved after new version is released # the tarball is moved after new version is released
isOld: "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/" isOld: "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/"
+ "${stdenv.lib.optionalString isOld "OLD/"}lsof_${version}.tar.bz2" + "${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"; sha256 = "061p18v0mhzq517791xkjs8a5dfynq1418a1mwxpji69zp2jzb41";
}; };