yajl: name of downloaded tarbal should be the same as derivation name

This commit is contained in:
Rok Garbas 2014-08-03 13:21:08 +02:00
parent 4143d9dfef
commit 92f7908d5b

View File

@ -5,7 +5,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = http://github.com/lloyd/yajl/tarball/2.0.4; url = http://github.com/lloyd/yajl/tarball/2.0.4;
name = "yajl-2.0.1.tar.gz"; name = "${name}.tar.gz";
sha256 = "0661bfi4hfvwg3z2pf51wqbf5qd5kfn0dk83v5s2xwhmry8rd6y1"; sha256 = "0661bfi4hfvwg3z2pf51wqbf5qd5kfn0dk83v5s2xwhmry8rd6y1";
}; };