Use principledMakeNixStringWithoutContext in assembleString

This commit is contained in:
Ken Micklas 2018-11-17 16:36:27 -05:00
parent c9071db5bc
commit a0a89248e9

View file

@ -322,7 +322,7 @@ assembleString = \case
where
fromParts = fmap (fmap principledStringMConcat . sequence) . traverse go
go = runAntiquoted "\n" (pure . Just . hackyMakeNixStringWithoutContext) (>>= fromValueMay)
go = runAntiquoted "\n" (pure . Just . principledMakeNixStringWithoutContext) (>>= fromValueMay)
buildArgument :: forall e v t m. MonadNixEval e v t m
=> Params (m v) -> m v -> m (AttrSet t)