-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
nix-build haskell callPackage results in ghc: can't find a package database at
#62906
Comments
Found a solution here: https://romanofskiat.wordpress.com/2019/02/07/ghc-cant-find-a-package-database/
|
Related issue: haskell/cabal#4542 |
Thanks for posting this! I had the same issue when using |
For those who use both cabal and nix while developing, a possible nix-based solution is to not pass the
above a possible use within a |
Thanks for the fix @mtrsk I just realized I can fix another nix issue I've been having with that gitignoreSource! |
Issue description
nix build
completed successfully earlier today, I don't think I made any changes, however when I now try to build:And that directory:
Technical details
Nix files were generated with
cabal2nix
default.nix
xmonad.nix
The text was updated successfully, but these errors were encountered: