nonguix: Use name when provided in unredistributable-url-fetch.

* nonguix/download.scm (unredistributable-url-fetch): Use name when
provided.
This commit is contained in:
Julien Lepiller 2020-03-13 00:30:35 +01:00
parent b1975f55e9
commit c9d1ea0ad3

View file

@ -43,7 +43,7 @@ if you run a substitute server on your machine."
(basename url))))
(mlet %store-monad ()
(raw-derivation file-name "builtin:download" '()
(raw-derivation (or name file-name) "builtin:download" '()
#:system system
#:hash-algo hash-algo
#:hash hash