From f74b94a24a9e9ac5027222386add8e05fc6e86ab Mon Sep 17 00:00:00 2001 From: Gabriella Gonzalez Date: Fri, 1 Jul 2022 15:00:29 -0700 Subject: [PATCH] Fix URL returned in `narinfo` It was missing the `.nar` suffix --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.hs b/src/Main.hs index 3038e11..ce33e39 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -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