Skip to content

Commit bfc1c41

Browse files
committed
Expr.Types: m clean-up
1 parent f3a0d1d commit bfc1c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nix/Expr/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ data NString r
267267
-- | For the the 'IsString' instance, we use a plain doublequoted string.
268268
instance IsString (NString r) where
269269
fromString "" = DoubleQuoted mempty
270-
fromString string = DoubleQuoted [Plain $ fromString string]
270+
fromString string = DoubleQuoted $ one $ Plain $ fromString string
271271

272272
$(deriveShow1 ''NString)
273273
$(deriveRead1 ''NString)

0 commit comments

Comments
 (0)