Fix URL returned in narinfo

It was missing the `.nar` suffix
This commit is contained in:
Gabriella Gonzalez 2022-07-01 15:00:29 -07:00
parent 81e3309159
commit f74b94a24a

View File

@ -178,7 +178,7 @@ makeApplication ApplicationOptions{..} request respond = do
<> Builder.byteString hashPart
<> "-"
<> Builder.byteString narHash2
<> "\nCompression: none\nNarHash: "
<> ".nar\nCompression: none\nNarHash: "
<> Builder.byteString narHash
<> "\nNarSize: "
<> Builder.word64Dec narSize