nixpkgs/pkgs/development/haskell-modules
Peter Simons 016aa581a7 haskell: extend generic builder to recognize mis-configured Cabal 2.x builds
Cabal 1.x says:

 | Warning: This package indirectly depends on multiple versions of the same
 | package. This is highly likely to cause a compile failure.

But in version 2.x, that warning is split into two lines differently:

 | Warning:
 |     This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.

This commit modifies the call to "egrep" to recognize both versions by virtue
of the "-z" flag, which essentially interprets the whole configure-time output
as one long line.
2017-12-30 13:53:05 +01:00
..
patches Add haskell-ide-engine 2017-12-29 14:41:15 -05:00
configuration-common.nix Add haskell-ide-engine 2017-12-29 14:41:15 -05:00
configuration-ghc-7.10.x.nix haskell: configure overrides to fix numerous package builds with GHC 7.10.3 2017-12-30 13:53:04 +01:00
configuration-ghc-8.0.x.nix (haskell.packages.ghc802.ghc): (fix llvm dependency) 2017-12-25 23:45:19 +00:00
configuration-ghc-8.2.x.nix haskellPackages.coordinate: Fix build on ghc 8.2 2017-12-22 14:04:59 -05:00
configuration-ghc-head.nix ghcHEAD: Add new boot packages to configuration file 2017-09-01 13:49:56 +00:00
configuration-ghcjs.nix haskell: ghcjs packages: fix build of fail 2017-10-23 19:44:46 +02:00
configuration-hackage2nix.yaml haskell: configure overrides to fix numerous package builds with GHC 7.10.3 2017-12-30 13:53:04 +01:00
configuration-halvm-2.4.0.nix haskell infra: Misc cleanups 2017-08-03 13:12:01 +02:00
configuration-nix.nix haskellPackages.LDAP: Fix build 2017-12-29 11:42:20 +01:00
default.nix Add haskell-ide-engine 2017-12-29 14:41:15 -05:00
generic-builder.nix haskell: extend generic builder to recognize mis-configured Cabal 2.x builds 2017-12-30 13:53:05 +01:00
generic-stack-builder.nix Fix buildStackProject in nix-build 2017-11-01 16:01:39 +01:00
hackage-packages.nix hackage-packages.nix: automatic Haskell package set update 2017-12-30 13:53:04 +01:00
hie-packages.nix Add haskell-ide-engine 2017-12-29 14:41:15 -05:00
hoogle-local-wrapper.sh Make hoogle-local compatible wih hoogle >= 5.0.4 2016-09-20 12:04:46 +02:00
hoogle.nix ghcWithHoogle: deal gracefully with packages that have no haddockDir attribute 2017-08-19 17:20:39 +02:00
initial-packages.nix Add haskell-ide-engine 2017-12-29 14:41:15 -05:00
lib.nix Revert "Revert "hslib: Function to extract the haskell build inputs of a package."" 2017-12-29 14:37:24 -05:00
make-package-set.nix Revert "hslib: Function to extract the haskell build inputs of a package." 2017-12-28 19:23:41 +01:00
with-packages-wrapper.nix Revert "Revive multiple outputs for Haskell packages." 2017-12-05 09:36:08 +01:00