diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-03 15:17:20 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-03 15:17:20 +0000 |
commit | d4250fef239b28b4a098e70e1deac889616dbb9a (patch) | |
tree | 2b45e6daf5372ebffe30ce9772ad6b0e4c2ad21d /perl | |
parent | d291be444bf6e50ba13235be975db4443b162903 (diff) |
Fix Perl, again...
Diffstat (limited to 'perl')
-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 595153e36..97cc4d94e 100644 --- a/perl/lib/Nix/Store.xs +++ b/perl/lib/Nix/Store.xs @@ -224,7 +224,7 @@ SV * hashString(char * algo, int base32, char * s) SV * convertHash(char * algo, char * s, int toBase32) PPCODE: try { - Hash h(s, parseHashType(algo)); + auto h = Hash::parseAny(s, parseHashType(algo)); string s = h.to_string(toBase32 ? Base32 : Base16, false); XPUSHs(sv_2mortal(newSVpv(s.c_str(), 0))); } catch (Error & e) { |