ed: avoid the useless rebuild due to #21752

This commit is contained in:
Vladimír Čunát 2017-01-08 22:16:00 +01:00
parent f553aaca88
commit 936bc23b41
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -2,7 +2,6 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ed-1.13"; name = "ed-1.13";
file_md5 = "fb8ffc8d8072e13dd5799131e889bfa5"; # for fedora mirror
src = fetchurl { src = fetchurl {
# gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping # gnu only provides *.lz tarball, which is unfriendly for stdenv bootstrapping
@ -10,10 +9,12 @@ stdenv.mkDerivation rec {
# When updating, please make sure the sources pulled match those upstream by # When updating, please make sure the sources pulled match those upstream by
# Unpacking both tarballs and running `find . -type f -exec sha256sum \{\} \; | sha256sum` # Unpacking both tarballs and running `find . -type f -exec sha256sum \{\} \; | sha256sum`
# in the resulting directory # in the resulting directory
urls = [ urls = let file_md5 = "fb8ffc8d8072e13dd5799131e889bfa5"; # for fedora mirror
"http://pkgs.fedoraproject.org/repo/extras/ed/${name}.tar.bz2/${file_md5}/${name}.tar.bz2" in [
"http://fossies.org/linux/privat/${name}.tar.bz2" ("http://pkgs.fedoraproject.org/repo/extras/ed"
]; + "/${name}.tar.bz2/${file_md5}/${name}.tar.bz2")
"http://fossies.org/linux/privat/${name}.tar.bz2"
];
sha256 = "1iym2fsamxr886l3sz8lqzgf00bip5cr0aly8jp04f89kf5mvl0j"; sha256 = "1iym2fsamxr886l3sz8lqzgf00bip5cr0aly8jp04f89kf5mvl0j";
}; };