Commit Graph
1244 Commits
Author SHA1 Message Date
IOHK e94de404e1 Update Hackage and Stackage 2020-11-09 01:14:13 +00:00
IOHK c00cc0cfed Update Hackage and Stackage 2020-11-08 01:15:08 +00:00
IOHK 10912efb8c Update Hackage and Stackage 2020-11-07 01:14:45 +00:00
Ninjatrappeur 36649ab403 flake: remove outdated edition field. (#912)
The flake edition attribute has been deprecated and removed from Nix.

See:
- https://github.com/NixOS/nix/commit/e5ea01c1a8bbd328dcc576928bf3e4271cb55399
- https://github.com/NixOS/nix/commit/b875b8f45c8d73c26e2cf13843fa25cc6762eebc
2020-11-06 17:18:43 +00:00
Michael Peyton Jones 8c0b7c27b4 Use runCommandLocal for dotCabal (#901)
This produces a pretty big store path (>1GB), and is very quick to
build. Prefer building it locally.
2020-11-07 00:18:53 +13:00
Moritz AngermannandHamish Mackenzie b06fdfa065 Adds experimental TSan logic. This will require a custom compiler (#910)
(cherry picked from commit 0f640b4285)

Co-authored-by: Hamish Mackenzie <Hamish.Mackenzie@iohk.io>
2020-11-06 18:23:12 +13:00
IOHK 945bb74d6d Update Hackage and Stackage 2020-11-06 01:15:01 +00:00
Moritz Angermann 23539aef9e Add enableDWARF and useLLVM (#909)
(cherry picked from commit dc44dbcfe5)
2020-11-05 18:43:38 +13:00
Moritz Angermann 778f1ab81e Enable ghci libraries (#908)
(cherry picked from commit 3e7fde0a2c)
2020-11-05 18:43:25 +13:00
IOHK a1a0dd5797 Update Hackage and Stackage 2020-11-05 01:15:31 +00:00
IOHK 0dd2930c6b Update Hackage and Stackage 2020-11-04 02:01:39 +00:00
IOHK 4b8e94f837 Update Hackage and Stackage 2020-11-03 01:17:19 +00:00
IOHK 5e16fa897d Update Hackage and Stackage 2020-11-02 01:54:43 +00:00
IOHK 1dbe814877 Update Hackage and Stackage 2020-11-01 01:15:57 +00:00
Eric WolfandHamish Mackenzie 0c3abc8a6d Allow for hoogle to be materialized in shellFor (#902)
Allow for hoogle to be materialized in `shellFor` by using `tools.hoogle` when passed in.

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com>
2020-10-31 20:46:54 +13:00
Moritz Angermann 5ed16940b8 custom 8.6.5-iohk ghc (#906)
(cherry picked from commit 18b16f6528)
2020-10-31 20:07:00 +13:00
Moritz Angermann 8fc807758c Source dist logic (#905)
(cherry picked from commit bb39ebbadf)
2020-10-31 20:05:34 +13:00
Moritz Angermann 429702eabf Allow source spec to be a file (#904) 2020-10-31 20:04:09 +13:00
IOHK b40a90b035 Update Hackage and Stackage 2020-10-31 01:17:16 +00:00
Michael Peyton Jones 134b60e48e Troubleshooting: add a small section about stripping (#900) 2020-10-30 17:40:04 +13:00
IOHK b0f4985077 Update Hackage and Stackage 2020-10-30 01:15:30 +00:00
IOHK 8dd7d8c7f0 Update Hackage and Stackage 2020-10-29 01:43:24 +00:00
Hamish Mackenzie 599372b4f0 Fix coverage test broken by #897 (#898) 2020-10-29 12:04:06 +13:00
Hamish Mackenzie 5f80ca910b Add compiler-nix-name arg to stackProject (#897) 2020-10-28 22:11:14 +13:00
IOHK d32a3b26d4 Update Hackage and Stackage 2020-10-28 01:50:45 +00:00
Hamish Mackenzie 2f48630357 Fix dumby GHC 8.10 Booter Version (#896)
We switched the booter ghc version from 8.8.4 to 8.6.5, but did not
update the dummy ghc info.  This causes problems when checking
materialization.
2020-10-27 17:17:36 +13:00
IOHK 0f8ecebaba Update Hackage and Stackage 2020-10-27 01:15:34 +00:00
Michael Peyton Jones 21e3527e7a Troubleshooting: add a note about missing files (#894)
This is another common issue.
2020-10-27 12:45:47 +13:00
IOHK f658beaffd Update Hackage and Stackage 2020-10-26 01:15:18 +00:00
IOHK 1858f258b2 Update Hackage and Stackage 2020-10-25 01:15:41 +00:00
IOHK fe92f76ccb Update Hackage and Stackage 2020-10-24 01:14:46 +00:00
IOHK 5fc93a3fd1 Update Hackage and Stackage 2020-10-23 01:15:21 +00:00
Hamish Mackenzie aac6ad9c58 hlint does not need reinstallableLibGhc any more (#893)
Since reinstallableLibGhc is currently broken for ghc 8.10.2
it seems like a good idea to turn it off.
2020-10-23 13:49:11 +13:00
Hamish Mackenzie bbb34dcdf7 Fix coverageReport for package with no lib (#892)
This is a fix for:

```
in job ‘native.haskellPackages.cardano-node-chairman.coverageReport.x86_64-darwin’:
attribute 'library' missing, at /nix/store/71ipkirsqkcmbd99q46rpg0z31zrr24p-haskell.nix-src/overlays/haskell.nix:531:72
```
2020-10-22 18:24:34 +13:00
IOHK 7b87e1d0bb Update Hackage and Stackage 2020-10-22 01:15:04 +00:00
Hamish Mackenzie a526148954 Use ghc865 to build ghc8102-experimental (#891)
This change was made to ghc8102 already, but got missed on
ghc102-experimental
2020-10-22 02:59:10 +13:00
Hamish Mackenzie a1b6975e57 Guard against #884 by checking sha256 (#885)
Not sure what caused #884, but this check should prevent the
erroneous output from making it into the binary cache if it happens
again.
2020-10-21 21:51:23 +13:00
Hamish Mackenzie cda15dc5b7 Add ghc8102-plutus as a compiler-nix-name (#848)
This change introduces a `ghc8102-experimental` compiler-nix-name that behaves much like the `ghc8102` version but includes @JoshMeredith's patch `./patches/ghc/ghc-8.10-ubxt.patch` that writes the `cg_binds` field with:

```haskell
  liftIO $ registerInterfaceDataWith "ghc/phase/core" hsc_env $ \bh ->
    putWithUserData (const $ return ()) bh (map toIfaceBind $ cg_binds cg_guts)
```

Some of the places where we used to depend on the output of `plan-to-nix` containing the correct `nix-name` for the compiler have been update to avoid using incompatible interface files from the `compiler-nix-name = "ghc8102"` version of GHC.
2020-10-21 17:04:47 +13:00
IOHK 630a48c22d Update Hackage and Stackage 2020-10-21 01:15:43 +00:00
Hamish Mackenzie 3991463043 Revert "cleanGit: Detect when called inside a submodule (#847)" (#890)
This reverts commit 3798469c3f.
2020-10-20 22:25:34 +13:00
IOHK 0af39982fb Update Hackage and Stackage 2020-10-20 01:14:46 +00:00
IOHK 58e5214901 Update Hackage and Stackage 2020-10-19 01:15:10 +00:00
Hamish Mackenzie 800b536c97 Exclude packages with no library from mixLibraries (#883) 2020-10-19 01:50:34 +13:00
IOHK 7cff00d149 Update Hackage and Stackage 2020-10-18 01:15:31 +00:00
IOHK 3beaf26583 Update Hackage and Stackage 2020-10-17 01:14:33 +00:00
IOHK f8443bf2ae Update Hackage and Stackage 2020-10-16 01:16:02 +00:00
IOHK 6e0810ad0d Update Hackage and Stackage 2020-10-15 01:32:13 +00:00
Hamish Mackenzie 97b8e28ca6 Include hls 0.5.1 in cache (#881) 2020-10-15 13:24:45 +13:00
Le Tuan ef6ca0f431 fix: ignore atomic primops on ARM architectures (GHC 8.8.3) (#857)
Fixes the #441 issue with GHC 8.8.3 (fix that was already applied to GHC 8.6.5 with PR #480).

Testing environment:

- GHC 8.8.3 (cross-compiler)
- NixOS 20.03
- Building host: x86_64
- Target host: armv6l

Without this PR, the symbol `__sync_val_compare_and_swap_8` was not found by `remote-iserv` as described in #441 but this time with GHC 8.8.3. The 8.6.5 patch also works for 8.8.3. Perhaps it would be preferable to apply this patch to a range of GHC versions rather than specific versions, but I have only tested it and verified that it works properly on those specific versions.

I have not submitted this patch to the GHC GitLab as I haven't encountered any problem building a cross-compiling version of GHC from there.
2020-10-15 01:57:45 +13:00
Hamish Mackenzie 8dc7c8ea74 plugin target handling patch when target is win (#878)
Fixes file not found errors when cross compiling
2020-10-15 01:34:06 +13:00