-
Notifications
You must be signed in to change notification settings - Fork 142
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
ghcvm-pkg list gives up multiple entries #75
Labels
Comments
It might be due to the fact that in GHCVM, the global and the user package databases are the same (done for simplicity).
|
psibi
added a commit
to psibi/eta
that referenced
this issue
Dec 27, 2016
Right now it fixes the `eta-pkg list` command which annoys me to a bigger extent that I expected. The old ouput of `eta-pkg list` was this: ``` shellsession sibi::jane { ~ }-> eta-pkg list /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 ``` Now, it gives up this: ``` shellsession @sibi::jane { ~ }-> eta-pkg list /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 ``` Note that I can fix this more cleanly - I can remove trying to query user database and so on. But I'm doing it now as I feel in future we may have a user package db for Eta. This also fixes typelead#75.
rahulmutt
pushed a commit
that referenced
this issue
Dec 28, 2016
Right now it fixes the `eta-pkg list` command which annoys me to a bigger extent that I expected. The old ouput of `eta-pkg list` was this: ``` shellsession sibi::jane { ~ }-> eta-pkg list /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-boot-th-8.0.1 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 ``` Now, it gives up this: ``` shellsession @sibi::jane { ~ }-> eta-pkg list /home/sibi/.eta/package.conf.d array-0.5.1.1 base-4.8.2.0 ghc-prim-0.4.0.0 integer-0.5.1.0 rts-0.1.0.0 ``` Note that I can fix this more cleanly - I can remove trying to query user database and so on. But I'm doing it now as I feel in future we may have a user package db for Eta. This also fixes #75.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably this happens because of multiple installation (i.e cleaninstall.sh) ?
The text was updated successfully, but these errors were encountered: