Name should be source in fetching inputs
This commit is contained in:
parent
491e0f076f
commit
e31baf5768
2
pins.nix
2
pins.nix
|
@ -7,6 +7,7 @@ let
|
|||
if kind == "git" then
|
||||
builtins.fetchGit
|
||||
{
|
||||
name = "source";
|
||||
url = args.url;
|
||||
ref = args.ref;
|
||||
rev = args.rev;
|
||||
|
@ -15,6 +16,7 @@ let
|
|||
else if kind == "tarball" then
|
||||
builtins.fetchTarball
|
||||
{
|
||||
name = "source";
|
||||
url = args.locked_url;
|
||||
sha256 = args.nar_hash;
|
||||
} else builtins.throw "unsupported input type ${kind}";
|
||||
|
|
Loading…
Reference in a new issue