fetchurlBoot: add name attr
This commit is contained in:
parent
f1d48ca6ba
commit
2d64d1e601
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue