Commit 368ccb84 authored by Andrew Gibiansky's avatar Andrew Gibiansky

Merge pull request #296 from edwtjo/nixos-fixes

NixOS fixes
parents 6fe9b22d 03ce2504
......@@ -141,7 +141,7 @@ getTrueModuleName name = do
onlyImportDecl _ = Nothing
-- Get all imports that we use.
imports <- catMaybes <$> map onlyImportDecl <$> getContext
imports <- ClassyPrelude.catMaybes <$> map onlyImportDecl <$> getContext
-- Find the ones that have a qualified name attached.
-- If this name isn't one of them, it already is the true name.
......@@ -178,7 +178,7 @@ completionType line loc target
= Empty
-- When in a string, complete filenames.
| cursorInString line loc
| cursorInString line loc
= FilePath (getStringTarget lineUpToCursor) (getStringTarget lineUpToCursor)
-- Complete module names in imports and elsewhere.
......
......@@ -4,7 +4,7 @@
module Main where
-- Prelude imports.
import ClassyPrelude hiding (last, liftIO)
import ClassyPrelude hiding (last, liftIO, readChan, writeChan)
import Prelude (last, read)
-- Standard library imports.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment