From 7073d308d984b94709e3c459a5c35e0402119282 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Jul 2003 09:54:02 +0000 Subject: [PATCH] * Use BaseName(). svn path=/nixpkgs/trunk/; revision=126 --- pkgs/fetchurl/fetchurl.fix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/fetchurl/fetchurl.fix b/pkgs/fetchurl/fetchurl.fix index 39c5e10e900b..b885e4a893ae 100644 --- a/pkgs/fetchurl/fetchurl.fix +++ b/pkgs/fetchurl/fetchurl.fix @@ -3,7 +3,7 @@ Function(["url", "hash"], [ ("build", Relative("fetchurl/fetchurl.sh")) , ("url", Var("url")) , ("hash", Var("hash")) - , ("id", "fetched-from-url") + , ("id", BaseName(Var("url"))) ] ) )