about summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-11-29T12·32+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-11-29T12·32+0000
commit216440b3ff1431beca7784c7ae76cb5e75446953 (patch)
tree471af726ccbb29740673a39b10cc797a22b8f4b9 /perl
parent1df120cb05121124379676d805b8f1fb090d7e22 (diff)
* For consistency with "nix-store -q --hash", produce hashes in
  base-32.  (This affects Hydra manifests.)

Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/Store.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs
index b50451f45f10..aac7761cbd80 100644
--- a/perl/lib/Nix/Store.xs
+++ b/perl/lib/Nix/Store.xs
@@ -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());