Skip to content

Support cabal.project import statements #2144

Open
@TeofilC

Description

@TeofilC

Describe the bug

Recent versions of cabal-install allow using import statements in cabal.project files.
Haskell.nix doesn't seem to support these and gives an error about the imported file not existing.

I imagine this is due to some overzealous cleaning.

Steps To Reproduce

Try building cabal-install using haskell.nix.
The cabal.project file imports cabal.project.lastest-ghc.
This will give an error about the imported file not existing and the cabal-plan-to-nix-pkgs derivation fails to build.

Expected behavior

This should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpreservedKeep stale bot away

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions