We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fccccb commit ab1861bCopy full SHA for ab1861b
hnix-store-core/src/System/Nix/Nar.hs
@@ -175,12 +175,12 @@ getNar = fmap Nar $ header >> parens getFile
175
assertStr "entry"
176
parens $ do
177
assertStr "name"
178
- mname <- E.decodeUtf8 . BSL.toStrict <$> str
+ name <- E.decodeUtf8 . BSL.toStrict <$> str
179
assertStr "node"
180
file <- parens getFile
181
- maybe (fail $ "Bad FilePathPart: " ++ show mname)
+ maybe (fail $ "Bad FilePathPart: " ++ show name)
182
(return . (,file))
183
- (filePathPart $ E.encodeUtf8 mname)
+ (filePathPart $ E.encodeUtf8 name)
184
185
-- Fetch a length-prefixed, null-padded string
186
str = fmap snd sizedStr
0 commit comments