aboutsummaryrefslogtreecommitdiff
path: root/guix/build/haskell-build-system.scm
Commit message (Collapse)AuthorAge
* build-system/haskell: Fix package.conf parsing.Eric Bavier2016-01-19
| | | | | * guix/build/haskell-build-system.scm (register)[conf-depends]: Properly react to EOF while reading GHC package conf files.
* Merge branch 'master' into core-updatesLudovic Courtès2015-12-12
|\
| * build-system/haskell: CONFIG_SHELL env variable.Paul van der Walt2015-10-26
| | | | | | | | | | | | | | | | | | For Cabal packages with "build-type: Configure", a configure shell script is run to set up build parameters. These scripts need the CONFIG_SHELL environment variable to be set to function properly. * guix/build/haskell-build-system.scm (configure): Set CONFIG_SHELL if necessary.
* | gnu: ghc: Add GHC_PACKAGE_PATH native search path.Eric Bavier2015-10-29
|/ | | | | | | | | | | | Benefits include: 'guix environment' more useful for ghc libraries, more useful 'guix package --search-paths' for installed ghc libraries, cleaner package recipes: no longer need to propagate runtime package dependencies. * guix/build/haskell-build-system.scm (configure): Unset GHC_PACKAGE_PATH around cabal configure. (make-ghc-package-database): Use pattern directory search. (register): Install complete package database for the current package. * gnu/packages/haskell.scm (ghc): Add native-search-paths field.
* build-system/haskell: install config for any package that creates it.Eric Bavier2015-06-11
| | | | | | | | | A Cabal package is allowed to declare an "empty" library, in an otherwise executable-only package, for the purpose of allowing Cabal to use it as a dependency for other packages. See e.g. hspec-discover. * guix/build/haskell-build-system.scm (register): Unconditionally call setup script with "register", and install any config file generated.
* build-system/haskell: Adjust to new 'modify-phases' syntax.Ludovic Courtès2015-04-16
| | | | | * guix/build/haskell-build-system.scm (%standard-phases): Add missing quotes, as needed since commit f8503e2.
* build-system/haskell: Update configure flags, 'haddock' and %standard-phases.Federico Beffa2015-04-08
| | | | | | | | | | | | * guix/build/haskell-build-system.scm (%standard-phases): move 'haddock phase before 'install phase. * guix/build/haskell-build-system.scm (haddock): Simplify it as the 'install phase takes care of copying files. * guix/build/haskell-build-system.scm (configure): Add '--libsubdir' flag. Fix use of '--extra-include-dirs' and '--extra-lib-dirs' flags. Use 'doc', 'bin' and 'lib' outputs if they are defined. * guix/build/haskell-build-system.scm (make-ghc-package-database, register): Aligh location of 'package.conf.d' directory with '--libsubdir' flag.
* build-system: Add haskell-build-system.Federico Beffa2015-04-04
* guix/build-system/haskell.scm: New file. * guix/build/haskell-build-system.scm: New file. * doc/guix.texi: Add section on 'haskell-build-system'.