diff options
author | Robert Helgesson <robert@rycee.net> | 2015-12-16 00:49:43 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2015-12-16 00:49:43 +0100 |
commit | d66a1a46e6f1f82ad8305d669db5c3a8cca147c3 (patch) | |
tree | 1b742e1b7584a54224775366a15b77b7d64d9022 /pkgs/tools/text/colordiff/default.nix | |
parent | 0acc32e8369f55e6a6f68c59cd5187d6cac20112 (diff) |
colordiff: add archive URL
When a new version of colordiff is released the old tarball is moved to the archive directory. This breaks builds until the derivation is updated to the new version. This commit lets fetchurl know about the archive URL.
Diffstat (limited to 'pkgs/tools/text/colordiff/default.nix')
-rw-r--r-- | pkgs/tools/text/colordiff/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/text/colordiff/default.nix b/pkgs/tools/text/colordiff/default.nix index 9b041ae4b2bec..53e683561fb82 100644 --- a/pkgs/tools/text/colordiff/default.nix +++ b/pkgs/tools/text/colordiff/default.nix @@ -4,7 +4,10 @@ stdenv.mkDerivation rec { name = "colordiff-1.0.16"; src = fetchurl { - url = "http://www.colordiff.org/${name}.tar.gz"; + urls = [ + "http://www.colordiff.org/${name}.tar.gz" + "http://www.colordiff.org/archive/${name}.tar.gz" + ]; sha256 = "12qkkw13261dra8pg7mzx4r8p9pb0ajb090bib9j1s6hgphwzwga"; }; |