mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
* For consistency with "nix-store -q --hash", produce hashes in
base-32. (This affects Hydra manifests.)
This commit is contained in:
parent
1df120cb05
commit
216440b3ff
2 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ SV * queryPathHash(char * path)
|
|||
try {
|
||||
doInit();
|
||||
Hash hash = store->queryPathHash(path);
|
||||
string s = "sha256:" + printHash(hash);
|
||||
string s = "sha256:" + printHash32(hash);
|
||||
XPUSHs(sv_2mortal(newSVpv(s.c_str(), 0)));
|
||||
} catch (Error & e) {
|
||||
croak(e.what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue