diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-16T10·49+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-16T10·49+0100 |
commit | 5ac27053e9bc4722dde5bd3243488d8e9a0b4623 (patch) | |
tree | 383aa0f6b98ebc3d214f48f2fc4632ea54d510e7 /perl/lib/Nix/Store.xs | |
parent | 92063851b1c49a5c96cf86b0b61d840dfe155964 (diff) |
Rename ValidPathInfo::hash -> narHash for consistency
Diffstat (limited to 'perl/lib/Nix/Store.xs')
-rw-r--r-- | perl/lib/Nix/Store.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs index 78cc436ca255..beac53ebf42f 100644 --- a/perl/lib/Nix/Store.xs +++ b/perl/lib/Nix/Store.xs @@ -108,7 +108,7 @@ SV * queryPathInfo(char * path, int base32) XPUSHs(&PL_sv_undef); else XPUSHs(sv_2mortal(newSVpv(info.deriver.c_str(), 0))); - string s = "sha256:" + (base32 ? printHash32(info.hash) : printHash(info.hash)); + string s = "sha256:" + (base32 ? printHash32(info.narHash) : printHash(info.narHash)); XPUSHs(sv_2mortal(newSVpv(s.c_str(), 0))); mXPUSHi(info.registrationTime); mXPUSHi(info.narSize); |