Fix GHC 8.6 compilation

This commit is contained in:
Domen Kožar 2018-11-23 13:39:49 +00:00
parent 0c9aef937b
commit b0f346fc5a
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ completer = Prefix (wordCompleter comp) defaultMatcher
shell :: (MonadNix e m, MonadIO m, MonadException m) => Repl e m a -> m ()
shell pre = flip evalStateT initState $
#if MIN_VERSION_repline(0, 2, 0)
evalRepl (return prefix() cmd options Nothing completer pre
evalRepl (return prefix) cmd options (Just ':') completer pre
#else
evalRepl prefix cmd options completer pre
#endif