haskell / haskell/cabal

Unintuitive semantics for imported project from a different folder

Open
#10,910 3 comments 0 reactions 0 assignees View on GitHub
re: project-file
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

To illustrate what the title means, here is an example: when `A/cabal.project` imports `A/B/cabal.project`, I observe that inside the `A/B/cabal.project` packages, the package path is based on A, instead of more intuitively `A/B`.

An live example is [here](https://github.com/yolc-dev/yul-dsl-monorepo/blob/master/cabal.project) which has an import: `import: 3rd-parties/cabal.project`.

Cabal version 3.14

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.