mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
* Use BaseName().
svn path=/nixpkgs/trunk/; revision=126
This commit is contained in:
parent
44bf92847f
commit
7073d308d9
@ -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")))
|
||||
]
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user