fetchurlBoot: add name attr
This commit is contained in:
parent
f1d48ca6ba
commit
2d64d1e601
@ -5,10 +5,11 @@ let mirrors = import ./mirrors.nix; in
|
||||
{ url ? builtins.head urls
|
||||
, urls ? []
|
||||
, sha256
|
||||
, name ? baseNameOf (toString url)
|
||||
}:
|
||||
|
||||
import <nix/fetchurl.nix> {
|
||||
inherit system sha256;
|
||||
inherit system sha256 name;
|
||||
|
||||
url =
|
||||
# Handle mirror:// URIs. Since <nix/fetchurl.nix> currently
|
||||
|
Loading…
Reference in New Issue
Block a user