This commit is contained in:
Matthew Bauer 2022-08-24 13:31:11 -05:00
parent 4d49c8c97e
commit cd99e1dc68

View file

@ -19,7 +19,7 @@ let
{ outPath = { outPath =
fetchTarball fetchTarball
({ url = "https://api.${info.host or "github.com"}/repos/${info.owner}/${info.repo}/tarball/${info.rev}"; } ({ url = "https://api.${info.host or "github.com"}/repos/${info.owner}/${info.repo}/tarball/${info.rev}"; }
// (if info ? narHash then { narHash = inherit (info) narHash; } else {}) // (if info ? narHash then { inherit (info) narHash; } else {})
); );
rev = info.rev; rev = info.rev;
shortRev = builtins.substring 0 7 info.rev; shortRev = builtins.substring 0 7 info.rev;