Skip to content

Commit 13186e0

Browse files
committed
Principled nvpath -> nvstring coercion
1 parent ac1f7d1 commit 13186e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nix/Convert.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ instance ( Convertible e t f m
151151
NVStr' ns -> pure $ Just ns
152152
NVPath' p ->
153153
Just
154-
. hackyMakeNixStringWithoutContext
154+
. (\s -> principledMakeNixStringWithSingletonContext s (StringContext s DirectPath))
155155
. Text.pack
156156
. unStorePath
157157
<$> addPath p

0 commit comments

Comments
 (0)