mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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