- 07 Sep, 2013 1 commit
-
-
Niklas Hambüchen authored
It was sorted by version number so far. I also added a sort to the normal output (without --simple-output) since the source it comes from does not guarantee sortedness. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 24 Jun, 2013 1 commit
-
-
gmainlan@microsoft.com authored
I was seeing many "WARNING: cache is out of date" errors during validation claiming that my package cache was out of date. This patch eliminates those errors by ensuring that when we rebuild the package cache, the modification time of the directory containing the package database is set to be the same as the modification time of the cache.
-
- 30 May, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 28 Apr, 2013 3 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
It was marked as "backwards compatibility" in 2006, so I think can be removed now. It allowed using old field names when looking at fields with ghc-pkg.
-
ian@well-typed.com authored
It used to just ignore the --simple-output flag
-
- 15 Feb, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 30 Nov, 2012 1 commit
-
-
Ben Millwood authored
-
- 08 Nov, 2012 1 commit
-
-
Gabor Greif authored
-
- 25 Oct, 2012 2 commits
-
-
ian@well-typed.com authored
In particular, this fixes it if we are using dynamic libraries by default and don't build the vanilla way.
-
ian@well-typed.com authored
-
- 11 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
We used to say $ ghc-pkg list blargle /usr/local/lib/ghc-7.4.1/package.conf.d which may imply that blargle was found in /usr/local/lib/ghc-7.4.1/package.conf.d
-
- 18 Jul, 2012 1 commit
-
-
pcapriotti authored
-
- 02 Jul, 2012 1 commit
-
-
Simon Marlow authored
-
- 27 May, 2012 1 commit
-
-
Ian Lynagh authored
Really we ought to support all the old flags, but warn that they are deprecated.
-
- 16 May, 2012 1 commit
-
-
Ian Lynagh authored
-
- 15 May, 2012 1 commit
-
-
pcapriotti authored
Rename package database flags in both GHC and ghc-pkg so that they are consistent with Cabal nomenclature. Add a version check to the build system so that the correct set of package db flags are used when the bootstrapping GHC has version < 7.5.
-
- 08 Mar, 2012 1 commit
-
-
pcapriotti authored
-
- 19 Jun, 2011 1 commit
-
-
Ian Lynagh authored
-
- 18 Jun, 2011 1 commit
-
-
dterei authored
-
- 10 Jun, 2011 1 commit
-
-
Ian Lynagh authored
It was only working when followed by something, e.g. "$topdir/base".
-
- 09 Jun, 2011 2 commits
-
-
Ian Lynagh authored
-
Duncan Coutts authored
I'd naively assumed that the haddock-html field would only use the $httptopdir variable. Hopefully this will fix the windows build.
-
- 25 May, 2011 6 commits
-
-
Duncan Coutts authored
-
Duncan Coutts authored
Tools handling installed packages need to be able to interpret the paths which are relative to the ${pkgroot} which means they need to know the value of ${pkgroot}. With ghc-pkg this is not always obvious since ghc-pkg does not currently have any way machine interface for reporting the location of its package dbs (global, user). The solution we have arrived at is simply to emit the pkgroot as an extra field when it is needed. There are two cases: * --no-expand-pkgroot: ghc-pkg dump/describe will not expand the ${pkgroot} var, so it will appear literally in the output and the pkgroot field will be generated so that tools know what value to use for the ${pkgroot}. * --expand-pkgroot: ghc-pkg dump/describe will expand the ${pkgroot} and ${pkgrooturl} vars and will not generate the pkgroot field. The defaults are: * ghc-pkg dump/describe --no-expand-pkgroot * ghc-pkg field --expand-pkgroot
-
Duncan Coutts authored
The haddock-html and haddock-interface fields are now checked as well. Had to fix up ghc-cabal as it used relative paths for the inplace package's haddock-html. It turns out that these were never used so it could simply be omitted.
-
Duncan Coutts authored
Historically ghc implemented relocatable packages by allowing "$topdir" in the package registration info and having ghc expand this with its notion of $topdir. The topdir refers to where ghc itself is installed (specifically the libdir). The ${pkgroot} spec takes this idea and makes it portable. (http://www.haskell.org/pipermail/libraries/2009-May/011772.html) Instead of paths relative to where ghc is installed, they can be relative to the package database itself. Thus it is no longer a ghc-specific idea and can work for package collections other than the global package db.
-
Duncan Coutts authored
It was never a universal solution. It only worked with the GNU linker. It has not been used by Cabal for ages. GHCi can now load .a files so it will not be needed in future.
-
Duncan Coutts authored
For shell-based build systems the feature is still available as: ghc-pkg register --expand-env-vars Historically, ghc-pkg allowed environment variables to appear in the input files for ghc-pkg register. They are not stored in the package database but are expanded upon registration. This feature helped for build systems based on makefiles and shell scripts. These days the vast majority of such files are generated by Cabal and we don't want any ${name} strings (e.g. perhaps in a package description) getting accidentally interpreted as an environment variable.
-
- 14 May, 2011 1 commit
-
-
batterseapower authored
-
- 18 Dec, 2010 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 15 Dec, 2010 1 commit
-
-
Ian Lynagh authored
-
- 27 Nov, 2010 1 commit
-
-
Ian Lynagh authored
GHCi libs are no longer necessary, as we can use the .a or .so versions instead.
-
- 13 Oct, 2010 1 commit
-
-
Ian Lynagh authored
-
- 12 Oct, 2010 1 commit
-
-
Ian Lynagh authored
-
- 06 Oct, 2010 1 commit
-
-
Ian Lynagh authored
-
- 01 Aug, 2010 1 commit
-
-
Ian Lynagh authored
-
- 25 Jul, 2010 1 commit
-
-
ich@christoph-bauer.net authored
-
- 15 Jul, 2010 1 commit
-
-
Ian Lynagh authored
-