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