Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails with "The package location 'semantic-source' does not exist." #643

Open
evheny0 opened this issue Feb 25, 2021 · 2 comments

Comments

@evheny0
Copy link

evheny0 commented Feb 25, 2021

Hi!
docker build on master fails with the following error:

Step 15/20 : RUN cabal v2-update &&     cabal v2-configure --flags="release" &&     cabal v2-build semantic:exe:semantic
 ---> Running in c3a6938786d5
Config file path source is default config file.
Config file /root/.cabal/config not found.
Writing default configuration to /root/.cabal/config
When using configuration(s) from /build/cabal.project, the following errors occurred:
The package location 'semantic-source' does not exist.

The command '/bin/sh -c cabal v2-update &&     cabal v2-configure --flags="release" &&     cabal v2-build semantic:exe:semantic' returned a non-zero code: 1
@patrickt
Copy link
Contributor

Hmm, this is very mysterious. It’s as though it’s ignoring cabal.project, which… it shouldn’t.

@targeter21
Copy link

semantic-source is listed in the .dockerignore, which means it's not included when copying the source in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants