Skip to content

Instantly share code, notes, and snippets.

@dmwit
Created August 17, 2019 19:23
Show Gist options
  • Save dmwit/51bc849f792f8540204c53c00c7e5226 to your computer and use it in GitHub Desktop.
Save dmwit/51bc849f792f8540204c53c00c7e5226 to your computer and use it in GitHub Desktop.
what am I doing wrong?
% tree
.
├── a
│   └── a.cabal
└── b
├── b.cabal
└── cabal.project.local
2 directories, 3 files
% cat a/a.cabal
name: a
version: 0.1.0.0
build-type: Simple
% cat b/b.cabal
name: b
version: 0.1.0.0
build-type: Simple
% cat b/cabal.project.local
packages: ./
../a/
% cd b
% cabal v2-repl
Resolving dependencies...
TODO: add support for multiple packages in a directory
CallStack (from HasCallStack):
error, called at ./Distribution/Client/ProjectOrchestration.hs:532:9 in main:Distribution.Client.ProjectOrchestration
CallStack (from -prof):
Distribution.Client.ProjectOrchestration.resolveTargets (Distribution/Client/ProjectOrchestration.hs:(502,1)-(608,34))
Distribution.Client.ProjectOrchestration.CAF (<entire-module>)
1.10s user 0.16s system 98% cpu 1.282 total
zsh: exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment