Commit Graph

1406 Commits

Author SHA1 Message Date
IOHK
f079a65f8d Update Hackage and Stackage 2020-11-14 01:13:32 +00:00
Marc Fontaine
86f391a012
add a pkgconf alias for libusb1 (#924) 2020-11-13 15:56:46 +00:00
IOHK
e8afd38302 Update Hackage and Stackage 2020-11-13 01:20:03 +00:00
IOHK
c583fb3e77 Update Hackage and Stackage 2020-11-12 01:14:52 +00:00
Joachim Breitner
bdd69693b9
Do not use evalPackages to create sourceRepo for builds (#918)
* Do not use evalPackages to create sourceRepo for builds

but still use it when creating source repo for plan calculation.

This might be a way to fix #917

* Update unit tests

* Refactor this patch, and add some comments

this is much less convoluted. I moved the fetchgit invocation from
`cabal-project-parser.nix` to `call-cabal-project-to-nix` (which makes
sense in a way, if a parser should return parsed data, and not do
stuff), and then some simplifications could happen.

Also added some comments.

* Update unit tests

* Dead code

* Less repetition in tests

* Comment tweaks

Co-authored-by: Hamish Mackenzie <Hamish.Mackenzie@iohk.io>
2020-11-11 11:49:27 +00:00
Hamish Mackenzie
654063dd6a
Fix #916 using -w instead of --with-compiler (#922) 2020-11-11 15:01:59 +13:00
Artem Pelenitsyn
61546a5770
Fix broken link to official nixpkgs guide to Haskell infrastructure (#923) 2020-11-11 15:01:00 +13:00
IOHK
f51fea263c Update Hackage and Stackage 2020-11-11 01:16:11 +00:00
Ross MacLeod
7f4442f492
don't try to set enableRelocatableStaticLibs = false on aarch32 as that parameter is no longer recognized and it's already disabled by the compiler/ghc/default.nix default for enableRelocatedStaticLibs (#911)
Co-authored-by: Ross MacLeod <ross@vitalbio.com>
2020-11-10 21:18:26 +13:00
Hamish Mackenzie
24fadac889
Add comment (#921) 2020-11-10 21:13:12 +13:00
Hamish Mackenzie
53bc8e033c
Fix for #920 2020-11-10 17:41:57 +13:00
IOHK
3984e639bc Update Hackage and Stackage 2020-11-10 01:17:23 +00:00
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:
- e5ea01c1a8
- b875b8f45c
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 Angermann
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 Wolf
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