* Use BaseName().

svn path=/nixpkgs/trunk/; revision=126
This commit is contained in:
Eelco Dolstra 2003-07-08 09:54:02 +00:00
parent 44bf92847f
commit 7073d308d9

View file

@ -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")))
]
)
)