summaryrefslogtreecommitdiff
path: root/guix/build/haskell-build-system.scm
AgeCommit message (Collapse)Author
2016-01-19build-system/haskell: Fix package.conf parsing.Eric Bavier
* guix/build/haskell-build-system.scm (register)[conf-depends]: Properly react to EOF while reading GHC package conf files.
2015-12-12Merge branch 'master' into core-updatesLudovic Courtès
2015-10-29gnu: ghc: Add GHC_PACKAGE_PATH native search path.Eric Bavier
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.
2015-10-26build-system/haskell: CONFIG_SHELL env variable.Paul van der Walt
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.
2015-06-11build-system/haskell: install config for any package that creates it.Eric Bavier
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.
2015-04-16build-system/haskell: Adjust to new 'modify-phases' syntax.Ludovic Courtès
* guix/build/haskell-build-system.scm (%standard-phases): Add missing quotes, as needed since commit f8503e2.
2015-04-08build-system/haskell: Update configure flags, 'haddock' and %standard-phases.Federico Beffa
* 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.
2015-04-04build-system: Add haskell-build-system.Federico Beffa
* guix/build-system/haskell.scm: New file. * guix/build/haskell-build-system.scm: New file. * doc/guix.texi: Add section on 'haskell-build-system'.