Skip to content

Commit dbdd30b

Browse files
committed
Exec: m refactor
1 parent 4d72799 commit dbdd30b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Nix/Exec.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ instance MonadNix e t f m => MonadEval (NValue t f m) m where
259259
(nverr $ Assertion span c)
260260
(do
261261
scope <- currentScopes
262-
let f = join (addProvenance . Provenance scope . NAssertAnnF span (pure c) . pure)
263-
f <$> body
262+
join (addProvenance . Provenance scope . NAssertAnnF span (pure c) . pure) <$> body
264263
)
265264
b
266265

0 commit comments

Comments
 (0)