forked from mirrors/nixpkgs
add working lsof mirror
This commit is contained in:
parent
d748ac851c
commit
77e07fbbd9
|
@ -5,7 +5,9 @@ stdenv.mkDerivation rec {
|
|||
version = "4.89";
|
||||
|
||||
src = fetchurl {
|
||||
urls = map (
|
||||
urls =
|
||||
["ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${version}.tar.bz2"]
|
||||
++ map (
|
||||
# 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"
|
||||
|
|
Loading…
Reference in a new issue