Skip to content

stack ghci at global level missing base #3589

Closed
@MarcelineVQ

Description

@MarcelineVQ

Something recent, possibly the 5b58500 commit, is causing errors such as:

 <interactive>:1:19: error:
    Not in scope: ‘System.IO.hSetBuffering’
    No module named ‘System.IO’ is imported.

<interactive>:1:43: error:
    Not in scope: ‘System.IO.stdin’
    No module named ‘System.IO’ is imported.

<interactive>:1:60: error:
    Not in scope: data constructor ‘System.IO.NoBuffering’
    No module named ‘System.IO’ is imported.

When stack ghci is ran outside of any project's scope. These are resolved by specifying
stack ghci --package base

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions