3
0
Fork 0
forked from mirrors/nixpkgs

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;
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "postfix-2.8.6";
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";
};