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
|
if kind == "git" then
|
||||||
builtins.fetchGit
|
builtins.fetchGit
|
||||||
{
|
{
|
||||||
|
name = "source";
|
||||||
url = args.url;
|
url = args.url;
|
||||||
ref = args.ref;
|
ref = args.ref;
|
||||||
rev = args.rev;
|
rev = args.rev;
|
||||||
|
@ -15,6 +16,7 @@ let
|
||||||
else if kind == "tarball" then
|
else if kind == "tarball" then
|
||||||
builtins.fetchTarball
|
builtins.fetchTarball
|
||||||
{
|
{
|
||||||
|
name = "source";
|
||||||
url = args.locked_url;
|
url = args.locked_url;
|
||||||
sha256 = args.nar_hash;
|
sha256 = args.nar_hash;
|
||||||
} else builtins.throw "unsupported input type ${kind}";
|
} else builtins.throw "unsupported input type ${kind}";
|
||||||
|
|
Loading…
Reference in a new issue