about summary refs log tree commit diff
path: root/pkgs/applications/networking/remote/putty
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-05-11 16:17:39 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-05-11 16:17:39 +0000
commitf1fc3e3ef124b98228dd36048e252120257d41fe (patch)
treee40be6bce3790ce3f1abb977b767cc9bda97690a /pkgs/applications/networking/remote/putty
parent074e7db41aa7fee5731835034490c8518320091c (diff)
Fixing the putty name, from putty-rNUM to putty-NUM, so nix-env -i putty installs it.
svn path=/nixpkgs/trunk/; revision=21729
Diffstat (limited to 'pkgs/applications/networking/remote/putty')
-rw-r--r--pkgs/applications/networking/remote/putty/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix
index 747413400b39e..980bb894aa2a7 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";
   };