Merge pull request #240939 from PedroHLC/nix-prefetch-git-sri

nix-prefetch-git: add sri-hash to output

authored by

Pol Dellaiera and committed by
GitHub
99152c0f 92bf5820

+1
+1
pkgs/build-support/fetchgit/nix-prefetch-git
··· 390 390 "date": "$(json_escape "$commitDateStrict8601")", 391 391 "path": "$(json_escape "$finalPath")", 392 392 "$(json_escape "$hashType")": "$(json_escape "$hash")", 393 + "hash": "$(nix-hash --to-sri --type $hashType $hash)", 393 394 "fetchLFS": $([[ -n "$fetchLFS" ]] && echo true || echo false), 394 395 "fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false), 395 396 "deepClone": $([[ -n "$deepClone" ]] && echo true || echo false),