postfix: re-use $name in src URL

This commit is contained in:
Peter Simons 2012-08-28 15:14:03 +02:00
parent 919b357255
commit 40fe2d03b5

View File

@ -4,11 +4,11 @@
assert stdenv.isLinux; assert stdenv.isLinux;
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "postfix-2.8.6"; name = "postfix-2.8.6";
src = fetchurl { src = fetchurl {
url = ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/postfix-2.8.6.tar.gz; url = "ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/${name}.tar.gz";
sha256 = "1rfsfhna5hy5lc6hkg1zc2862pdc5c1y9z6aiy8rinlmzrfplhlb"; sha256 = "1rfsfhna5hy5lc6hkg1zc2862pdc5c1y9z6aiy8rinlmzrfplhlb";
}; };