3 Commits

Author SHA1 Message Date
Mitch Tishmack
41600059c1 testing/idris: upgrade to 1.3.0 2018-06-15 11:20:25 +00:00
Mitch Tishmack
cc57909e25 testing/idris: Fix build of idris with newer pkg versions
The use of cabal freeze only works for install/configure. cabal fetch
does not honor the cabal.config.

Ref:
https://github.com/haskell/cabal/issues/4256

Change the build to still use the freeze file, however put the cabal
directory to $srcdir/cabal, do not set CABAL_CONFIG so that constraints
get shadowed if future packages are released, when installing libffi
constrain libffi to version 0.1 and extract constraints from the
cabal.config.

Additionally, for cabal freeze add switch to ignore the base ghc packages
as they're not relevant to cabal install/fetch/build.

Finally, add any libffi transitive depdendencies missing from the cabal.config
file for idris. For now only one applies. Also force constraints manually on
cabal install libffi as cabal.config wasn't getting picked up.
2017-10-27 23:04:31 +02:00
Jakub Jirutka
bf5f52db45 testing/idris: use cabal freeze and sandbox for great good 2017-05-17 13:38:42 +02:00