From e31baf57680bab449ab5b40179cc4a08a99f5314 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Sat, 4 May 2024 17:14:17 -0700 Subject: [PATCH] Name should be source in fetching inputs --- pins.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pins.nix b/pins.nix index 78ef4eb..6027932 100644 --- a/pins.nix +++ b/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}";