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 3dcd056 commit d321eaeCopy full SHA for d321eae
src/Nix/Parser.hs
@@ -319,8 +319,7 @@ nixUri = lexeme $ annotateLocation1 $ try $ do
319
\ x ->
320
isAlphanumeric x
321
|| (`elem` ("%/?:@&=+$,-_.!~*'" :: String)) x
322
- pure $ NStr $ DoubleQuoted
323
- [Plain $ toText $ start : protocol ++ ':' : address]
+ pure $ NStr $ DoubleQuoted $ one $ Plain $ toText $ one start <> protocol <> ":" <> address
324
325
nixString' :: Parser (NString NExprLoc)
326
nixString' = lexeme (doubleQuoted <+> indented <?> "string")
0 commit comments