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

new-repl creates non-satisfied .ghc.environment specification (cabal 2.1) #4559

Open
lspitzner opened this issue Jun 9, 2017 · 0 comments
Open

Comments

@lspitzner
Copy link
Collaborator

reproduce:

  1. create empty lib-only package "testpackage"
  2. cabal new-configure -w $MYGHCPATH
  3. cabal new-repl

env file looks like this; note that the "inplace" entry is not satisfied until we new-build:

> cat .ghc.environment.x86_64-linux-8.0.2 
-- This is a GHC environment file written by cabal. This means you can
-- run ghc or ghci and get the environment of the project as a whole.
-- But you still need to use cabal repl $target to get the environment
-- of specific components (libs, exes, tests etc) because each one can
-- have its own source dirs, cpp flags etc.
-- 
clear-package-db
global-package-db
package-db $HOME/.cabal/store/ghc-8.0.2/package.db
package-db dist-newstyle/packagedb/ghc-8.0.2
package-id testpackage-0.1.0.0-inplace
package-id base-4.9.1.0
package-id ghc-prim-0.5.0.0
package-id rts
package-id integer-gmp-1.0.0.1
@ezyang ezyang added this to the 2.2 milestone Jun 10, 2017
@23Skidoo 23Skidoo modified the milestones: 2.2, 2.4 Aug 29, 2018
@23Skidoo 23Skidoo modified the milestones: 2.4, 2.4.1 Sep 17, 2018
@23Skidoo 23Skidoo modified the milestones: 2.4.1.0, 2.4.2.0 Apr 26, 2019
@phadej phadej modified the milestones: 2.4.2.0, 3.4 Nov 27, 2019
@jneira jneira unassigned hvr Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants