From f1fc3e3ef124b98228dd36048e252120257d41fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 11 May 2010 16:17:39 +0000 Subject: [PATCH] Fixing the putty name, from putty-rNUM to putty-NUM, so nix-env -i putty installs it. svn path=/nixpkgs/trunk/; revision=21729 --- pkgs/applications/networking/remote/putty/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix index 747413400b39..980bb894aa2a 100644 --- a/pkgs/applications/networking/remote/putty/default.nix +++ b/pkgs/applications/networking/remote/putty/default.nix @@ -1,7 +1,10 @@ { stdenv, fetchsvn, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut }: +let + rev = 8934; +in stdenv.mkDerivation { - name = "putty-r8934"; + name = "putty-${toString rev}"; # builder = ./builder.sh; preConfigure = '' @@ -17,7 +20,7 @@ stdenv.mkDerivation { # I don't know of any better URL src = fetchsvn { url = svn://svn.tartarus.org/sgt/putty; - rev = 8934; + rev = rev; sha256 = "1yg5jhk7jp4yrnhpi0lvz71qqaf5gfpcwy8p198qqs8xgd1w51jc"; };