Commit Graph

2223 Commits

Author SHA1 Message Date
IOHK
21230476ad Update Hackage and Stackage 2022-07-04 01:30:07 +00:00
IOHK
11284f143f Update Hackage and Stackage 2022-07-03 01:19:30 +00:00
Kobayashi
4e100b2ad9
enable internal-interpreter flag for ghc (#1536) 2022-07-02 21:07:09 +12:00
IOHK
27e138b0d2 Update Hackage and Stackage 2022-07-02 01:14:47 +00:00
IOHK
9c519fdb95 Update Hackage and Stackage 2022-07-01 01:37:07 +00:00
Teo Camarasu
54b86efe7c
Avoid duplicated packages in ghc-pkg list (#1530)
Filter out the setup dependencies of `Simple` packages from the shell. Fixes #1518.

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
2022-06-30 21:16:35 +12:00
IOHK
6786f2440e Update Hackage and Stackage 2022-06-30 01:17:07 +00:00
IOHK
c5c44f4027 Update Hackage and Stackage 2022-06-29 01:23:29 +00:00
IOHK
dd13e82252 Update Hackage and Stackage 2022-06-28 01:15:38 +00:00
IOHK
5c49987f99 Update Hackage and Stackage 2022-06-27 01:17:18 +00:00
IOHK
fc05774463 Update Hackage and Stackage 2022-06-26 01:17:05 +00:00
IOHK
ed14313f8c Update Hackage and Stackage 2022-06-25 01:15:07 +00:00
IOHK
c6b80fe119 Update Hackage and Stackage 2022-06-24 01:15:58 +00:00
IOHK
0f203573d2 Update Hackage and Stackage 2022-06-23 01:19:16 +00:00
Andrea Ciceri
2c1701b681
Supporting ca-derivations experimental feature (#1494)
* Supporting `ca-derivations` experimental feature

* Improved `contentAddressed.include` option description

* Ensure deterministic output for content addressed components

* Comment transformed into a Nix comment

To avoid possibly useless rebuilds

* Use `modules` arg `contentAddressed` flag

* Tutorial about CA derivations

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
2022-06-23 12:39:35 +12:00
Hamish Mackenzie
2a89c68994
Build ghci/ghc with internal interpreter (#1520)
Fixes #1512
2022-06-22 16:00:58 +12:00
IOHK
473b0b8509 Update Hackage and Stackage 2022-06-22 01:19:17 +00:00
Hamish Mackenzie
1eaa396e9c
Fix #1507 by running postBuild hook in setup build (#1519)
* Includes very temporary work around for CI issue
2022-06-21 15:38:41 +12:00
IOHK
5ea1196b18 Update Hackage and Stackage 2022-06-21 01:30:07 +00:00
IOHK
515e81ec79 Update Hackage and Stackage 2022-06-20 01:16:27 +00:00
IOHK
2cdfb4238b Update Hackage and Stackage 2022-06-19 01:23:07 +00:00
IOHK
48aa392df8 Update Hackage and Stackage 2022-06-18 01:23:17 +00:00
IOHK
c6a44a799b Update Hackage and Stackage 2022-06-17 01:17:37 +00:00
Hamish Mackenzie
5a310b0b39
Workaround possible TH environment overflow running wine (#1517)
We still do not understand the cause, but wine seems to fail to start (we get a segfault) when building `cardano-wallet-cli` test `unit`.  It seems to be an overflow somewhere in bash or very early in the `wine` startup code (since nothing is logged even with `WINEDEBUG=+all`).

This changes `unsets` the large `pkgsHostTargetAsString` environment variable before wine is started (after that variable has been used).  This seems to be enough to avoid the issue though it is worrying that it is not clear why.
2022-06-16 20:58:29 +12:00
IOHK
19e9e374fc Update Hackage and Stackage 2022-06-16 01:16:35 +00:00
Hamish Mackenzie
7c26ef068a
Don't require materialized spdx fixes #1515 (#1516) 2022-06-16 00:21:52 +12:00
IOHK
beb2d052f8 Update Hackage and Stackage 2022-06-15 01:16:44 +00:00
Hamish Mackenzie
2739817902
Fixes for materialization (#1514) 2022-06-15 00:27:05 +12:00
IOHK
8b37ff2019 Update Hackage and Stackage 2022-06-14 01:18:14 +00:00
IOHK
89686741c7 Update Hackage and Stackage 2022-06-13 01:15:48 +00:00
IOHK
b91539ea00 Update Hackage and Stackage 2022-06-12 01:17:18 +00:00
IOHK
7a0834ec7f Update Hackage and Stackage 2022-06-11 01:34:07 +00:00
Hamish Mackenzie
2812ae6745
Use targetPackages.ncurses for ghc cross compiler (#1513)
We have been disabling terminfo in our GHC builds for cross compilers (windows and musl).  This leads to an interesting problem when we `cabal configure` a project that needs `ghc`. The resulting `plan.json` might suggest that we should use the preexisting `ghc`.  When it does though it does not include the `flags` needed to build it.

One fix would be to default the the `ghc` `terminfo` flag to `false` for cross compilers.

It turns out though that the reason we could not get the `terminfo` package to work with our cross compilers was that we were providing the `hostPlatform` `ncursers` when we needed the `targetPlatform` `ncursers`.  Fixing that makes the cross compilers more like the native ones.

Also stops pinning wine to 5.4 on macOS (pinned version does not work there)
2022-06-11 08:37:16 +12:00
IOHK
75b545a793 Update Hackage and Stackage 2022-06-10 01:20:48 +00:00
IOHK
c9643fd9f8 Update Hackage and Stackage 2022-06-09 01:18:37 +00:00
Hamish Mackenzie
28071bc161
Bump wine to 5.4 (#1511)
This was the last version of wine before it started using `ucrt`.
2022-06-08 15:06:12 +12:00
IOHK
824d51e033 Update Hackage and Stackage 2022-06-08 01:17:28 +00:00
Hamish Mackenzie
d71e854dea
Repin wine to 3.21 as file access from TH breaks otherwise (#1508)
Fixes #1487
2022-06-07 17:36:54 +12:00
IOHK
4004e57b4d Update Hackage and Stackage 2022-06-07 01:18:54 +00:00
IOHK
aaf333d2d8 Update Hackage and Stackage 2022-06-06 01:46:17 +00:00
IOHK
6cb60f7c51 Update Hackage and Stackage 2022-06-05 01:20:07 +00:00
IOHK
3d26d9a747 Update Hackage and Stackage 2022-06-04 01:18:08 +00:00
Hamish Mackenzie
def2e0540e
Add just-template-haskell test for #1483 (#1504) 2022-06-03 17:26:57 +12:00
IOHK
974a61451b Update Hackage and Stackage 2022-06-03 01:20:38 +00:00
Hamish Mackenzie
d3ba497b5f
Fixes to help building of all packages in stackage (#1503)
These are the less controversial changes from #1251
2022-06-02 22:45:09 +12:00
Hamish Mackenzie
91036142ef
Better support for allow-import-from-derivation=false (#1474)
Currently haskell.nix uses IFDs internally in a number of places.  This prevents the use of `--option allow-import-from-derivation false` even when `materialized` nix is provided.

* Changes `materialize` function so that it returns the `materialized` path when possible instead of a derivation (updates import-and-filter-project.nix to cope with that).
* Materializes the spdx json file.
* Prevents haskell.nix looking for `cabal.project`, `cabal.project.local` and `cabal.project.freeze` files in hackage packages and the ghc-extra-projects.
2022-06-02 20:11:27 +12:00
Hamish Mackenzie
4b61024e55
Fix for ghc-lib-parser 9.2 and haskell.nix patched ghc (#1502)
Fixes #1488
2022-06-02 15:00:54 +12:00
Hamish Mackenzie
a5b85df063
Possible fix for #1496 (#1499) 2022-06-02 13:25:01 +12:00
Alexander Bich
9faf891503
eliminate boolean value from path set for linkFarm (#1501) 2022-06-02 13:24:31 +12:00
Hamish Mackenzie
95faec6038
Default reinstallableLibGhc to true (#1498)
It fixes more things than it breaks now.
2022-06-02 13:21:12 +12:00