Skip to content

Commit 2f30c61

Browse files
committed
Core: Internal: Base32: decode: Left: name honestly
1 parent 12bedb0 commit 2f30c61

File tree

1 file changed

+1
-1
lines changed
  • hnix-store-core/src/System/Nix/Internal

1 file changed

+1
-1
lines changed

hnix-store-core/src/System/Nix/Internal/Base32.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ encode c = Data.Text.pack $ takeCharPosFromDict <$> [nChar - 1, nChar - 2 .. 0]
5454
decode :: Text -> Either String ByteString
5555
decode what =
5656
bool
57-
(Left "Invalid Base32 string")
57+
(Left "Invalid NixBase32 string")
5858
(unsafeDecode what)
5959
(Data.Text.all (`elem` digits32) what)
6060

0 commit comments

Comments
 (0)