Skip to content

Commit ea53439

Browse files
committed
Expr.Types: m upd: use TH.liftTyped
In TH there was a transition, seems liftTyped works now for our project.
1 parent d3e12e6 commit ea53439

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
@@ -507,7 +507,7 @@ instance TH.Lift NExpr where
507507
pure [| $(TH.lift b) |]
508508
)
509509
#if MIN_VERSION_template_haskell(2,17,0)
510-
liftTyped = unsafeCodeCoerce . lift
510+
liftTyped = TH.liftTyped
511511
#elif MIN_VERSION_template_haskell(2,16,0)
512512
liftTyped = TH.unsafeTExpCoerce . TH.lift
513513
#endif

0 commit comments

Comments
 (0)