mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-14 10:42:10 +03:00
remote: cosmetic
Co-authored-by: Richard Marko <srk@48.io>
This commit is contained in:
parent
5d160cd5c5
commit
181f5fc0a8
@ -218,7 +218,7 @@ queryPathInfoUncached path = do
|
||||
deriverPath <- sockGetPathMay
|
||||
|
||||
narHashText <- Data.Text.Encoding.decodeUtf8 <$> sockGetStr
|
||||
let narHash = case (System.Nix.Hash.decodeBase Base32 :: Text -> Either String (Digest a)) @'System.Nix.Hash.SHA256 narHashText of
|
||||
let narHash = case System.Nix.Hash.decodeBase @'System.Nix.Hash.SHA256 Base32 narHashText of
|
||||
Left e -> error e
|
||||
Right x -> SomeDigest x
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user