Am Donnerstag, 22. Januar 2015, 11:19:37 schrieb Albert Y. C. Lai:
On 2015-01-21 10:36 AM, Volker Wysk wrote:
I have installed/registered a new version of a package with cabal by
accident. How can I remove it again?
See my http://www.vex.net/~trebla/haskell/sicp.xhtml#remove . In fact,
Am Mittwoch, 21. Januar 2015, 19:39:50 schrieben Sie:
On 2015-01-21 at 16:36:08 +0100, Volker Wysk wrote:
I have installed/registered a new version of a package with cabal by
accident. How can I remove it again?
Not sure if this is what you want, but the `cab` tool has an `uninstall`
On 2015-01-22 at 09:04:30 +0100, Volker Wysk wrote:
I have installed/registered a new version of a package with cabal by
accident. How can I remove it again?
Not sure if this is what you want, but the `cab` tool has an `uninstall`
sub-command to unregister and remove installed packages.
On 2015-01-21 10:36 AM, Volker Wysk wrote:
I have installed/registered a new version of a package with cabal by accident.
How can I remove it again?
See my http://www.vex.net/~trebla/haskell/sicp.xhtml#remove . In fact,
read the whole thing.
___
On 2015-01-21 at 16:36:08 +0100, Volker Wysk wrote:
I have installed/registered a new version of a package with cabal by
accident.
How can I remove it again?
Not sure if this is what you want, but the `cab` tool has an `uninstall`
sub-command to unregister and remove installed packages.
I use a shell script. It's really useful, surely there's some
official way to do this?
#!/bin/zsh
package=$1
if ! ghc-pkg describe $package /dev/null; then
echo no such package: $package
exit 1
fi
ghcdir=$(ghc --print-libdir)
function field() {
ghc-pkg field $package $1 | cut -d'
Hi!
I have installed/registered a new version of a package with cabal by accident.
How can I remove it again?
There is something in ~/.cabal/packages/hackage.haskell.org, but the defective
version isn't included.
bye
V.W.
___
Glasgow-haskell-users
On Wed, Jan 21, 2015 at 11:19 AM, Volker Wysk vertei...@volker-wysk.de
wrote:
I'm also missing a command to set the Default available version.
You don't set that; it's specified in the downloaded package index in the
package repo.
--
brandon s allbery kf8nh sine
Am Mittwoch, 21. Januar 2015, 23:56:53 schrieben Sie:
I use a shell script. It's really useful, surely there's some
official way to do this?
It looks like a remove command to cabal has been forgotten... This would
be a feature request.
I'm also missing a command to set the Default available