-
Notifications
You must be signed in to change notification settings - Fork 691
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
Cabal can't configure without global package db #5445
Comments
It looks like the Regardless, it would likely be helpful to paste the output of |
Here is the output:
|
Is there a way to reproduce this today? If not, maybe this should be closed due to inactivity and unclear way to repro? |
Given no objections, let me close. Thank you for the report and please open a ticket if this recurs. |
I am trying to get cabal to build off of a separate package db. Here are the configure flags (built from Nix's generic-builder.nix off of this branch: NixOS/nixpkgs#43300):
The key new flag is
--ghc-option=-no-global-package-db
. The package.conf.d file now contains rts & base which should be all that is needed for this package to build (hello). However, there seems to be a conflict with how cabal expects your environment to be set up:The text was updated successfully, but these errors were encountered: