Skip to content

Commit 2f2609d

Browse files
committed
String.Coerce: coerceToString: m refactor
1 parent 7cfa712 commit 2f2609d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nix/String/Coerce.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ coerceToString call ctsm clevel = go
7878
NVStr ns -> pure ns
7979
NVPath p ->
8080
bool
81-
(castToNixString . toText)
81+
(castToNixString . fromString . coerce)
8282
(fmap storePathToNixString . addPath)
8383
(ctsm == CopyToStore)
8484
p

0 commit comments

Comments
 (0)