3
0
Fork 0
forked from mirrors/nixpkgs

add working lsof mirror

This commit is contained in:
Aristid Breitkreuz 2015-11-21 23:48:41 +01:00
parent d748ac851c
commit 77e07fbbd9

View file

@ -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"