Commit Graph

2223 Commits

Author SHA1 Message Date
IOHK
93ab6221f2 Update Hackage and Stackage 2022-05-03 01:18:15 +00:00
Shea Levy
bfeea3e894
Allow packages to specify external static plugins 2022-05-02 11:08:42 -04:00
IOHK
4ee7270856 Update Hackage and Stackage 2022-05-02 01:15:27 +00:00
IOHK
801310c927 Update Hackage and Stackage 2022-05-01 01:15:00 +00:00
IOHK
9b015602cb Update Hackage and Stackage 2022-04-30 01:14:14 +00:00
IOHK
6208f05202 Update Hackage and Stackage 2022-04-29 01:16:37 +00:00
Hamish Mackenzie
f707aa2e75
Fix hls conflict with unboxed tuple (#1457)
This is Maxim Koltsov's work around for building `haskell-language-server` with the haskell.nix compilers that include unboxed tuple patch.

See https://github.com/haskell/haskell-language-server/issues/2860#issuecomment-1110861573
2022-04-29 01:13:56 +12:00
Luis Pedro Coelho
c6a5afba7e
Build bzip2 & xz with static libs in musl crossPkgs (#1456)
* Fix bzip2 static build for musl

* Enable static builds for xz/lzma

This is (currently) the same package on nixpkgs, so we make it the same
package here too.
2022-04-28 10:13:42 +01:00
IOHK
634fcf5034 Update Hackage and Stackage 2022-04-28 01:16:47 +00:00
IOHK
26feeec475 Update Hackage and Stackage 2022-04-27 01:23:25 +00:00
Shea Levy
be667b07d8
Try to get hydra to build Plutus GHC 2022-04-26 07:23:03 -04:00
IOHK
9a502b8c8a Update Hackage and Stackage 2022-04-26 01:22:36 +00:00
Shea Levy
2fd79406fe
Add external static plugins patch to Plutus GHC 2022-04-25 00:47:51 -04:00
IOHK
a2d5109971 Update Hackage and Stackage 2022-04-25 01:15:17 +00:00
IOHK
641145a6dc Update Hackage and Stackage 2022-04-24 01:15:57 +00:00
endgame
d44384cef1
supported-ghc-versions.md: We have 9.2.2 (#1452) 2022-04-23 14:38:06 +12:00
IOHK
fa024ed4b1 Update Hackage and Stackage 2022-04-23 01:15:44 +00:00
paumr
df89dc99f3
added icu-i18n mapping (#1451) 2022-04-22 16:03:58 +01:00
IOHK
45a935784e Update Hackage and Stackage 2022-04-22 01:43:12 +00:00
Daniel Goertzen
e4248b3f14
fix binary cache for nixos (#1448)
* fix binary cache for nixos

* Update getting-started.md

add nixos binary cache instruction for both <=21.11 and >21.11
2022-04-21 17:06:28 +01:00
Hamish Mackenzie
9aed9c3faf
Update materialization (#1449) 2022-04-21 21:12:51 +12:00
IOHK
23178fedad Update Hackage and Stackage 2022-04-21 01:17:28 +00:00
Hamish Mackenzie
1f5c9b28bf
Fix ghcjs 8.6.5 and 8.8.4 (#1447)
Also hydra now builds ghcjs 8.8.4, 8.6.5 and 8.10.7 on x86_64-linux build ghcjs 8.10.7 on x86_64-darwin
2022-04-21 12:46:49 +12:00
Hamish Mackenzie
f3ea06dcac
Work around for packages in lts that do not install. (#1437)
For ghc 9.0.2 Haskell.nix will use the `stm`and `filepath` source that came with `ghc` when the version desired matches.  This is because 9.0.2 shipped with packages that differ from the same version in hackage.

`reinstallableLibGhc` is fixed for GHC 8.10 and above.  Rather than including a patch file this works by:

* Setting the `subDir` to the `compiler` directory when building.  That way relative paths to other parts of the `ghc` source tree (outside the `compiler` directory) still work.
* Files that are needed, but generated when `ghc` builds are added from the `generated` output of the ghc derivation.

`nonReinstallablePkgs` is now sorted and deduplicated before it is used (this reduces the chance of rebuilds when the list is refactored).
2022-04-20 15:25:21 +12:00
IOHK
c357208f96 Update Hackage and Stackage 2022-04-20 01:16:05 +00:00
IOHK
b098a7182a Update Hackage and Stackage 2022-04-19 01:16:16 +00:00
Tikhon Jelvis
8d607e1dd8
Fix typo in GHC versions table: ghc2105 → ghc2111 (#1445)
There's a typo in the table of supported versions: two of the 21.11 rows should say `nixpkgs-2111` rather than `nixpkgs-2105`. This threw me off for a bit earlier because I skimmed the table and thought 21.11 wasn't supported yet.
2022-04-19 12:43:38 +12:00
Stefan Frijters
b4b6bd387d
Fix links to troubleshooting Markdown pages (#1443) 2022-04-19 12:42:34 +12:00
IOHK
cc40a24585 Update Hackage and Stackage 2022-04-18 01:14:27 +00:00
IOHK
efcdd520ae Update Hackage and Stackage 2022-04-17 01:15:55 +00:00
IOHK
03606a183a Update Hackage and Stackage 2022-04-16 01:15:08 +00:00
IOHK
5ddab9bf3f Update Hackage and Stackage 2022-04-15 01:15:57 +00:00
IOHK
902d94ddd7 Update Hackage and Stackage 2022-04-14 01:21:00 +00:00
Hamish Mackenzie
e81f3bb011
Avoid filtering repo to just 01-index.tar.gz file (#1432)
When downloading a `repository` block we get a number of files (not just the index).  For some repositories these files will be necessary for `cabal configure` and the vanilla ones created by haskell.nix will not work.  This change keeps these extra files and combines them with the main hackage index using `lndir`, so that changes to the repo will not require a new copy of the hackage index in the store.

This change also introduces `inputMap` that allows flake or niv inputs to be used to pin repository.  It also works with `source-repository-package` blocks.
2022-04-14 02:35:37 +12:00
Hamish Mackenzie
ecc62190e6
Add missing ghc 9.2.2 x86_64-darwin materialization (#1438) 2022-04-13 21:30:42 +12:00
IOHK
9012aac8a8 Update Hackage and Stackage 2022-04-13 01:17:11 +00:00
Hamish Mackenzie
8a32c395cb
Fix ghc-lib-parsrer for stackage (#1436) 2022-04-12 14:35:42 +12:00
IOHK
386d03f150 Update Hackage and Stackage 2022-04-12 01:17:29 +00:00
IOHK
fd74389bcf Update Hackage and Stackage 2022-04-11 01:16:28 +00:00
IOHK
bd6bae1c2c Update Hackage and Stackage 2022-04-10 01:15:25 +00:00
IOHK
9837fdee76 Update Hackage and Stackage 2022-04-09 01:15:25 +00:00
Hamish Mackenzie
5051bfa9d6
Fix the type of signatures in metadata (#1431)
See https://github.com/NixOS/hackage-db/pull/17
2022-04-09 01:25:38 +12:00
Hamish Mackenzie
82832676a1
ifdLevel 3 2022-04-08 18:52:37 +12:00
Hamish Mackenzie
aaae688f47
ifdLevel 2 2022-04-08 15:11:50 +12:00
Hamish Mackenzie
aef9e94377
ifdLevel 1 2022-04-08 13:09:22 +12:00
Hamish Mackenzie
31eea6644d
ifdLevel 0 (for hydra sigh) 2022-04-07 22:10:42 +12:00
Thomas Winant
0c9142a753
Don't duplicate the configureFlags when not on Windows (#1420)
When not on Windows, the `configureFlags` attr of `libmpc` is set to
`(drv.configureFlags or [])`. Since `drv.configureFlags` seems to be equal to
`["--enable-static" "--disable-shared"]` (at least on my machine),
`configureFlags` appears to be merged with itself and in the end, it is equal
to:
`["--enable-static" "--disable-shared" "--enable-static" "--disable-shared"]`.

You can verify this by comparing the derivations of `libmpc` with and without
this patch.

This changes the derivation of `libmpc` as well the derivation of all dependent
packages, like `gcc`, causing cache misses from https://cache.nixos.org/.

Because these packages are built and stored in the IOHK cache, users don't
notice this, until they use a different version of `nixpkgs` than the one pinned
by `haskell.nix`, e.g., one with a different version of `glibc` so that the IOHK
cache cannot be used. This results in `gcc` and other packages being built from
scratch instead of being downloaded from https://cache.nixos.org/.

Fix this by hoisting the conditional one level higher so that `overrideAttrs`
isn't even called on non-Windows OSes. Do the same for `mpfr` for consistency.

I haven't tested this on Windows. I'm not sure whether I have hoisted the
conditional too high, see the first comment in the file.
2022-04-07 21:59:32 +12:00
IOHK
b0fed19dc6 Update Hackage and Stackage 2022-04-07 01:21:16 +00:00
IOHK
28dbf2f4bd Update Hackage and Stackage 2022-04-06 01:18:07 +00:00
Hamish Mackenzie
9987a666f2
Update windows-secp256k1 github action (#1428)
Based on https://github.com/input-output-hk/ouroboros-network/pull/3687
2022-04-05 18:53:13 +12:00