[Pkg-haskell-commits] darcs: ghc: Employ similar symlink work-around to merge /var/lib/ghc-*/package.conf.d into /var/lib/ghc/package.conf.d. Also remove version number from /usr/lib/ghc path.
Joachim Breitner
mail at joachim-breitner.de
Mon Jul 11 14:05:07 UTC 2011
Mon Jul 11 12:44:41 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* Employ similar symlink work-around to merge /var/lib/ghc-*/package.conf.d into /var/lib/ghc/package.conf.d. Also remove version number from /usr/lib/ghc path.
Ignore-this: d04490d7363fbe9cc90b3e4b3dfaa10c
./gen_contents_index.in -> ./gen_contents_index
./ghc-doc.postinst.in -> ./ghc-doc.postinst
./ghc-doc.preinst.in -> ./ghc-doc.preinst
./ghc-doc.triggers.in -> ./ghc-doc.triggers
./ghc-pkg.man.in -> ./ghc-pkg.man
./ghc.postinst.in -> ./ghc.postinst
./ghc.prerm.in -> ./ghc.prerm
./ghc.triggers.in -> ./ghc.triggers
M ./Dh_Haskell.sh -1 +1
M ./changelog +8
M ./ghc-doc.triggers -6 +3
M ./ghc-pkg.man -2 +2
M ./ghc.postinst -3 +18
M ./ghc.prerm -2 +2
M ./ghc.triggers -1 +3
M ./patches/haddock-hardcode-ghc-paths -1 +1
M ./rules -23 +22
R ./scripts.mk
Mon Jul 11 12:44:41 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* Employ similar symlink work-around to merge /var/lib/ghc-*/package.conf.d into /var/lib/ghc/package.conf.d. Also remove version number from /usr/lib/ghc path.
Ignore-this: d04490d7363fbe9cc90b3e4b3dfaa10c
diff -rN -u old-ghc//changelog new-ghc//changelog
--- old-ghc//changelog 2011-07-11 14:05:07.078111343 +0000
+++ new-ghc//changelog 2011-07-11 14:05:07.086057827 +0000
@@ -1,3 +1,11 @@
+ghc (7.0.4-3) unstable; urgency=low
+
+ * Employ similar symlink work-around to merge /var/lib/ghc-*/package.conf.d
+ into /var/lib/ghc/package.conf.d. Also remove version number from
+ /usr/lib/ghc path.
+
+ -- Joachim Breitner <nomeata at debian.org> Mon, 11 Jul 2011 13:13:45 +0200
+
ghc (7.0.4-2) unstable; urgency=low
* Fix ghc-ghci existance check logic
diff -rN -u old-ghc//Dh_Haskell.sh new-ghc//Dh_Haskell.sh
--- old-ghc//Dh_Haskell.sh 2011-07-11 14:05:07.078111343 +0000
+++ new-ghc//Dh_Haskell.sh 2011-07-11 14:05:07.081627197 +0000
@@ -192,7 +192,7 @@
*)
;;
esac
- for f in debian/$pkg/var/lib/ghc-*/package.conf.d/*.conf ; do
+ for f in debian/$pkg/var/lib/ghc/package.conf.d/*.conf ; do
if [ -f "$f" ] ; then
echo $f
echo " "
diff -rN -u old-ghc//gen_contents_index new-ghc//gen_contents_index
--- old-ghc//gen_contents_index 1970-01-01 00:00:00.000000000 +0000
+++ new-ghc//gen_contents_index 2011-07-11 14:05:07.090057312 +0000
@@ -0,0 +1,60 @@
+#! /usr/bin/perl
+# gen_contents_index, written for Debian by Kari Pahula
+# Copyright 2009 Kari Pahula
+# Licensed under BSD3, see /usr/share/common-licenses/BSD
+
+my @ifaces;
+my %pkgs;
+
+# Add everything from the global Cabal registry to index.
+if (-e '/usr/bin/ghc-pkg') {
+ open CABAL, 'ghc-pkg dump --global |' or warn "ghc-pkg dump failed: $!";
+ addInfo (\*CABAL, \%pkgs, \@ifaces);
+ close CABAL;
+}
+
+exec ('haddock', '--gen-index', '--gen-contents',
+ '-o', '/usr/share/doc/ghc-doc/html/libraries/',
+ '-t'. 'Haskell Hierarchical Libraries',
+ '-p', '/usr/share/doc/ghc-doc/html/libraries/prologue.txt',
+ @ifaces);
+
+sub addInfo {
+ my $fh = shift;
+ my %dat;
+ while (<$fh>) {
+ if (/^name: (.*)/) {
+ $dat{pkg} = $1;
+ } elsif (/^version: (.*)/) {
+ $dat{ver} = $1;
+ } elsif (/^haddock-interfaces: (.*)/) {
+ $dat{ifaces} = $1;
+ } elsif (/^haddock-html: (.*)/) {
+ $dat{html} = $1;
+ } elsif (/^---/) {
+ process(\%dat, @_);
+ %dat = ();
+ }
+ }
+ process(\%dat, @_);
+}
+
+sub process {
+ my $dat = shift;
+ my $pkgs = shift;
+ my $ifaces = shift;
+ my $path;
+ return undef if $$dat{pkg} eq 'ghc';
+ my $p = $$dat{pkg}.'-'.$$dat{ver};
+ return undef if (exists $$pkgs{$p});
+ if ($$dat{html} =~ m,^/usr/share/doc/ghc-doc/html/libraries/(.*),) {
+ $path = $1;
+ } elsif ($$dat{html} =~ m,^/usr/share/doc/([^/]*-doc/html/.*),) {
+ $path = "../../../$1";
+ }
+
+ if (defined $path && -r $$dat{ifaces}) {
+ $$pkgs{$p} = 1;
+ push @ifaces, "--read-interface=$path,$$dat{ifaces}";
+ }
+}
diff -rN -u old-ghc//gen_contents_index.in new-ghc//gen_contents_index.in
--- old-ghc//gen_contents_index.in 2011-07-11 14:05:06.706056919 +0000
+++ new-ghc//gen_contents_index.in 1970-01-01 00:00:00.000000000 +0000
@@ -1,60 +0,0 @@
-#! /usr/bin/perl
-# gen_contents_index, written for Debian by Kari Pahula
-# Copyright 2009 Kari Pahula
-# Licensed under BSD3, see /usr/share/common-licenses/BSD
-
-my @ifaces;
-my %pkgs;
-
-# Add everything from the global Cabal registry to index.
-if (-e '/usr/bin/ghc-pkg') {
- open CABAL, 'ghc-pkg dump --global |' or warn "ghc-pkg dump failed: $!";
- addInfo (\*CABAL, \%pkgs, \@ifaces);
- close CABAL;
-}
-
-exec ('haddock', '--gen-index', '--gen-contents',
- '-o', '/usr/share/doc/ghc-doc/html/libraries/',
- '-t'. 'Haskell Hierarchical Libraries',
- '-p', '/usr/share/doc/ghc-doc/html/libraries/prologue.txt',
- @ifaces);
-
-sub addInfo {
- my $fh = shift;
- my %dat;
- while (<$fh>) {
- if (/^name: (.*)/) {
- $dat{pkg} = $1;
- } elsif (/^version: (.*)/) {
- $dat{ver} = $1;
- } elsif (/^haddock-interfaces: (.*)/) {
- $dat{ifaces} = $1;
- } elsif (/^haddock-html: (.*)/) {
- $dat{html} = $1;
- } elsif (/^---/) {
- process(\%dat, @_);
- %dat = ();
- }
- }
- process(\%dat, @_);
-}
-
-sub process {
- my $dat = shift;
- my $pkgs = shift;
- my $ifaces = shift;
- my $path;
- return undef if $$dat{pkg} eq 'ghc';
- my $p = $$dat{pkg}.'-'.$$dat{ver};
- return undef if (exists $$pkgs{$p});
- if ($$dat{html} =~ m,^/usr/share/doc/ghc-doc/html/libraries/(.*),) {
- $path = $1;
- } elsif ($$dat{html} =~ m,^/usr/share/doc/([^/]*-doc/html/.*),) {
- $path = "../../../$1";
- }
-
- if (defined $path && -r $$dat{ifaces}) {
- $$pkgs{$p} = 1;
- push @ifaces, "--read-interface=$path,$$dat{ifaces}";
- }
-}
diff -rN -u old-ghc//ghc-doc.postinst new-ghc//ghc-doc.postinst
--- old-ghc//ghc-doc.postinst 1970-01-01 00:00:00.000000000 +0000
+++ new-ghc//ghc-doc.postinst 2011-07-11 14:05:07.090057312 +0000
@@ -0,0 +1,59 @@
+#! /bin/sh
+# postinst script for ghc-doc
+#
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ triggered|configure)
+ # Older versions of haskell_devscripts installed .haddock files in
+ # ghc-version-dependent paths. We thus merge them here using symbolic
+ # links. Luckily, dpkg will cleanly remove the symlinks when the last
+ # broken package is deinstalled.
+ # This can be removed once all packages have been rebuilt from source
+ # with a version of haskell-devscripts that installs into
+ # /usr/lib/ghc-doc/haddock/
+ for path in /usr/lib/ghc-7.0.2/haddock /usr/lib/ghc-7.0.3/haddock
+ do
+ if [ -d $path -a ! -L $path ]
+ then
+ echo "Turning $path into a symbolic link to /usr/lib/ghc-doc/haddock/"
+ # This line should successfully do nothing for an empty directory
+ find $path -maxdepth 1 -mindepth 1 -print0 | xargs -0 -r mv -t /usr/lib/ghc-doc/haddock/
+ rmdir $path
+ ln -s ../ghc-doc/haddock $path
+ fi
+ done
+
+ /usr/lib/ghc-doc/gen_contents_index
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -rN -u old-ghc//ghc-doc.postinst.in new-ghc//ghc-doc.postinst.in
--- old-ghc//ghc-doc.postinst.in 2011-07-11 14:05:06.710057257 +0000
+++ new-ghc//ghc-doc.postinst.in 1970-01-01 00:00:00.000000000 +0000
@@ -1,59 +0,0 @@
-#! /bin/sh
-# postinst script for ghc-doc
-#
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see /usr/doc/packaging-manual/
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
- triggered|configure)
- # Older versions of haskell_devscripts installed .haddock files in
- # ghc-version-dependent paths. We thus merge them here using symbolic
- # links. Luckily, dpkg will cleanly remove the symlinks when the last
- # broken package is deinstalled.
- # This can be removed once all packages have been rebuilt from source
- # with a version of haskell-devscripts that installs into
- # /usr/lib/ghc-doc/haddock/
- for path in /usr/lib/ghc-7.0.2/haddock /usr/lib/ghc-7.0.3/haddock
- do
- if [ -d $path -a ! -L $path ]
- then
- echo "Turning $path into a symbolic link to /usr/lib/ghc-doc/haddock/"
- # This line should successfully do nothing for an empty directory
- find $path -maxdepth 1 -mindepth 1 -print0 | xargs -0 -r mv -t /usr/lib/ghc-doc/haddock/
- rmdir $path
- ln -s ../ghc-doc/haddock $path
- fi
- done
-
- /usr/lib/ghc-doc/gen_contents_index
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -rN -u old-ghc//ghc-doc.preinst new-ghc//ghc-doc.preinst
--- old-ghc//ghc-doc.preinst 1970-01-01 00:00:00.000000000 +0000
+++ new-ghc//ghc-doc.preinst 2011-07-11 14:05:07.090057312 +0000
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+ upgrade|install)
+ if [ -e /usr/share/doc/ghc-doc/html/libraries/ ] ; then
+ rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
+ /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
+ /usr/share/doc/ghc-doc/html/libraries/doc-index.html
+ rmdir --ignore-fail-on-non-empty /usr/share/doc/ghc-doc/html/libraries/
+ rmdir --ignore-fail-on-non-empty /usr/share/doc/ghc-doc/html/
+ fi
+ ;;
+ *)
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -rN -u old-ghc//ghc-doc.preinst.in new-ghc//ghc-doc.preinst.in
--- old-ghc//ghc-doc.preinst.in 2011-07-11 14:05:06.714057591 +0000
+++ new-ghc//ghc-doc.preinst.in 1970-01-01 00:00:00.000000000 +0000
@@ -1,21 +0,0 @@
-#! /bin/sh
-
-set -e
-
-case "$1" in
- upgrade|install)
- if [ -e /usr/share/doc/ghc-doc/html/libraries/ ] ; then
- rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
- /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
- /usr/share/doc/ghc-doc/html/libraries/doc-index.html
- rmdir --ignore-fail-on-non-empty /usr/share/doc/ghc-doc/html/libraries/
- rmdir --ignore-fail-on-non-empty /usr/share/doc/ghc-doc/html/
- fi
- ;;
- *)
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -rN -u old-ghc//ghc-doc.triggers new-ghc//ghc-doc.triggers
--- old-ghc//ghc-doc.triggers 1970-01-01 00:00:00.000000000 +0000
+++ new-ghc//ghc-doc.triggers 2011-07-11 14:05:07.094056391 +0000
@@ -0,0 +1,6 @@
+interest /usr/lib/ghc-doc/haddock
+interest /usr/lib/ghc-7.0.2/haddock
+interest /usr/lib/ghc-7.0.3/haddock
+interest /var/lib/ghc/package.conf.d
+interest /var/lib/ghc-7.0.3/package.conf.d
+interest /var/lib/ghc-7.0.4/package.conf.d
diff -rN -u old-ghc//ghc-doc.triggers.in new-ghc//ghc-doc.triggers.in
--- old-ghc//ghc-doc.triggers.in 2011-07-11 14:05:07.066158815 +0000
+++ new-ghc//ghc-doc.triggers.in 1970-01-01 00:00:00.000000000 +0000
@@ -1,9 +0,0 @@
-interest /usr/share/doc/ghc-doc/libraries
-interest /usr/share/ghc-doc/haddock
-interest /usr/share/ghc-doc/ghc- at VERSION@/haddock
-interest /usr/share/ghc-doc/ghc- at VERSION@/desc
-interest /usr/lib/ghc-doc/haddock
-interest /usr/lib/ghc-7.0.2/haddock
-interest /usr/lib/ghc-7.0.3/haddock
-interest /usr/lib/ghc- at VERSION@/haddock
-interest /var/lib/ghc- at VERSION@/package.conf.d
diff -rN -u old-ghc//ghc-pkg.man new-ghc//ghc-pkg.man
--- old-ghc//ghc-pkg.man 1970-01-01 00:00:00.000000000 +0000
+++ new-ghc//ghc-pkg.man 2011-07-11 14:05:07.094056391 +0000
@@ -0,0 +1,228 @@
+.TH ghc-pkg 1 "2010-01-27"
+.SH NAME
+ghc-pkg \- GHC Haskell Cabal package manager
+.SH SYNOPSIS
+.B ghc-pkg
+.I action
+.RI [ OPTION ]...
+.SH DESCRIPTION
+A package is a library of Haskell modules known to the compiler. The
+.B ghc-pkg
+tool allows adding or removing them from a package database. By
+default, the system-wide package database is modified, but
+alternatively the user's local package database or another specified
+file can be used.
+.PP
+To make a package available for
+.BR ghc ,
+.B ghc-pkg
+can be used to register it. Unregistering it removes it from the
+database. Also, packages can be hidden, to make
+.B ghc
+ignore the package by default, without uninstalling it. Exposing a
+package makes a hidden package available. Additionally,
+.B ghc-pkg
+has various commands to query the package database.
+.PP
+Where a package name is required, the package can be named in full
+including the version number (e.g.
+.BR network-1.0 ),
+or without the version number. Naming a package without the version
+number matches all versions of the package; the specified action will
+be applied to all the matching packages. A package specifier that
+matches all version of the package can also be written
+.BR pkg-* ,
+to make it clearer that multiple packages are being matched.
+.SH ACTIONS
+.TP
+\fBregister\fP \fIfilename\fP|\fB-\fP
+Register the package using the specified installed package
+description.
+.TP
+\fBupdate\fP \fIfilename\fP|\fB-\fP
+Register the package, overwriting any other package with the same
+name.
+.TP
+\fBunregister\fP \fIpkg-id\fP
+Unregister the specified package.
+.TP
+\fBexpose\fP \fIpkg-id\fP
+Expose the specified package.
+.TP
+\fBhide\fP \fIpkg-id\fP
+Hide the specified package
+.TP
+\fBlist\fP \fR[\fIpkg\fR]...\fP
+List registered packages in the global database, and also the user
+database if
+.B --user
+is given. If a package name is given all the registered versions will
+be listed in ascending order. Accepts the
+.B --simple-output
+flag.
+.TP
+.B dot
+Generate a graph of the package dependencies in a form suitable for
+input for the graphviz tools. For example, to generate a PDF of the
+dependency graph:
+.br
+\fB dot \| tred \| dot -Tpdf >pkgs.pdf\fP
+.TP
+\fBfind-module\fP \fImodule\fP
+List registered packages exposing module
+.I module
+in the global database, and also the user database if
+.B --user
+is given. All the registered versions will be listed in ascending
+order. Accepts the
+.B --simple-output
+flag.
+.TP
+\fBlatest\fP \fIpkg-id\fP
+Prints the highest registered version of a package.
+.TP
+.B check
+Check the consistency of package dependencies and list broken
+packages. Accepts the
+.B --simple-output
+flag.
+.TP
+\fBdescribe\fP \fIpkg\fP
+Give the registered description for the
+specified package. The description is returned in precisely the syntax
+required by ghc-pkg register.
+.TP
+\fBfield\fP \fIpkg field\fP
+Extract the specified field of the package description for the
+specified package. Accepts comma-separated multiple fields.
+.TP
+.B dump
+Dump the registered description for every package. This is like
+.BR ghc-pkg\ describe\ '*' ,
+expect that it is intended to be used by tools that parse the results,
+rather than humans.
+.TP
+.B recache
+Regenerate the package database cache. This command should only be
+necessary if you added a package to the database by dropping a file
+into the database directory manyally. By default, the global DB is
+recached; to recache a different DB use
+.B --user
+or
+.B --package-conf
+as appropriate.
+.SH OPTIONS
+When asked to modify a database
+.RB ( register ,\ unregister ,\ update ,\ hide ,\ expose ,\ and\ also\ check ),
+.B ghc-pkg
+modifies the global database by
+default. Specifying
+.B --user
+causes it to act on the user database,
+or
+.B --package-conf
+can be used to act on another database
+entirely. When multiple of these options are given, the rightmost
+one is used as the database to act upon.
+.PP
+Commands that query the package database
+.RB ( list ,\ latest ,\ describe ,\ field )
+operate on the list of databases specified by the flags
+.BR --user ,\ --global ,
+and
+.BR --package-conf .
+If none of these flags are
+given, the default is
+.BR --global\ --user .
+.TP
+.B --user
+Use the current user's package database.
+.TP
+.B --global
+Use the global package database.
+.TP
+\fB-f\fP \fIFILE\fP, \fB--package-conf=\fIFILE\fP
+Use the specified package config file.
+.TP
+.BI --global-conf= FILE
+Location of the global package config.
+.TP
+.B --force
+Ignore missing dependencies, directories, and libraries.
+.TP
+.B --force-files
+Ignore missing directories and libraries only.
+.TP
+.BR -g ,\ --auto-ghc-libs
+Automatically build libs for GHCi (with register).
+.TP
+.BR -? ,\ --help
+Display a help message and exit.
+.TP
+.BR -V ,\ --version
+Output version information and exit.
+.TP
+.B --simple-output
+Print output in easy-to-parse format for some commands.
+.TP
+.B --names-only
+Only print package names, not versions; can only be used with
+.BR list\ --simple-output .
+.TP
+.B --ignore-case
+Ignore case for substring matching.
+.SH ENVIRONMENT VARIABLES
+.TP
+.B GHC_PACKAGE_PATH
+The
+.B GHC_PACKAGE_PATH
+environment variable may be set to a
+.BR : -separated
+list of files containing package databases. This list of package
+databases is used by
+.B ghc
+and
+.BR ghc-pkg ,
+with earlier databases in the list overriding later ones. This order
+was chosen to match the behaviour of the
+.B PATH
+environment variable; think of it as a list of package databases that
+are searched left-to-right for packages.
+
+If
+.B GHC_PACKAGE_PATH
+ends in a separator, then the default user and system package
+databases are appended, in that order. e.g. to augment the usual set
+of packages with a database of your own, you could say:
+
+.br
+\fB export GHC_PACKAGE_PATH=$HOME/.my-ghc-packages.conf:\fP
+.br
+
+To check whether your
+.B GHC_PACKAGE_PATH
+setting is doing the right thing,
+.B ghc-pkg list
+will list all the databases in use, in the reverse order they are
+searched.
+.SH FILES
+Both of these locations are changed for Debian. Upstream still keeps
+these under
+.IR /usr .
+Some programs may refer to that, but look in
+.I /var
+instead.
+.TP
+.I /var/lib/ghc/package.conf
+Global package.conf file.
+.TP
+.I /var/lib/ghc/package.conf.d/
+Directory for library specific package.conf files. These are added to
+the global registry.
+.SH "SEE ALSO"
+.BR ghc (1),
+.BR runghc (1),
+.BR hugs (1).
+.SH AUTHOR
+This manual page was written by Kari Pahula <kaol at debian.org>, for the
+Debian project (and may be used by others).
diff -rN -u old-ghc//ghc-pkg.man.in new-ghc//ghc-pkg.man.in
--- old-ghc//ghc-pkg.man.in 2011-07-11 14:05:07.054305520 +0000
+++ new-ghc//ghc-pkg.man.in 1970-01-01 00:00:00.000000000 +0000
@@ -1,228 +0,0 @@
-.TH ghc-pkg 1 "2010-01-27"
-.SH NAME
-ghc-pkg \- GHC Haskell Cabal package manager
-.SH SYNOPSIS
-.B ghc-pkg
-.I action
-.RI [ OPTION ]...
-.SH DESCRIPTION
-A package is a library of Haskell modules known to the compiler. The
-.B ghc-pkg
-tool allows adding or removing them from a package database. By
-default, the system-wide package database is modified, but
-alternatively the user's local package database or another specified
-file can be used.
-.PP
-To make a package available for
-.BR ghc ,
-.B ghc-pkg
-can be used to register i[...incomplete...]
More information about the Pkg-haskell-commits
mailing list