Update Haskell package set to LTS 15.8 (plus other fixes)#85178
Update Haskell package set to LTS 15.8 (plus other fixes)#85178
Conversation
|
One thing I'd like us to look into: My CI failure against And indeed, |
|
@nh2 It looks like that dependency is behind a flag, which is maybe why cabal2nix isn't picking it up. https://hackage.haskell.org/package/ghc-lib-parser-ex-8.8.5.8/ghc-lib-parser-ex.cabal |
@cdepillabout Thanks! And it looks like the logic is changing again: shayne-fletcher/ghc-lib-parser-ex#42 I've asked in shayne-fletcher/ghc-lib-parser-ex#42 (comment). |
|
|
|
@guibou I hadn't known about No specific requests yet, but I noticed one thing: Given that |
This update was generated by hackage2nix v2.15.1 from Hackage revision commercialhaskell/all-cabal-hashes@fcda256.
* ghcHEAD: bump to 8.11.20200403 * ghcHead: reduce diff vs. 8.10.1 dontAddExtraLibs was removed by accident (IMO) in ea19a8e * ghcHEAD: add ability to use system libffi - enable nixpkgs' libffi - minimise diffs against 8.10.1 - remove patching * remove configure warning about --with-curses-includes configure: WARNING: unrecognized options: --with-curses-includes
This also unbreaks `haskell-ci`.
- get the current Git head of haskell-tensorflow - adjust dependencies
This closes #79441. ghcWithPackages is using `ghc-pkg recache` to build its package database. By doing so, it overrides the `package.cache[.lock]` files. Details are unclear, but GHC 8.10 changed a bit the behavior. Previously, it was unconditionally replacing the files by new ones. Now it tries to open (for modification) the files. These files are symlinks to another nix derivation, which is hence read-only. This commit removes the files before running `ghc-pkg recache`, hence it will just write the new files. Tested with `haskellPackages.ghcWithPackages` (i.e. GHC 8.8) and `haskell.packages.ghc8101.ghcWithPackages` (i.e GHC 8.10) with the following nix file, at the root of the nixpkgs repository: ``` with import ./. { overlays = [ ( self: super: { haskellPackages = super.haskell.packages.ghc8101.override { overrides = selfh: superh: { th-lift-instances = super.haskell.lib.doJailbreak superh.th-lift-instances; th-expand-syns = super.haskell.lib.doJailbreak superh.th-expand-syns; th-reify-many = super.haskell.lib.doJailbreak superh.th-reify-many; th-orphans = super.haskell.lib.doJailbreak superh.th-orphans; haskell-src-meta = super.haskell.lib.doJailbreak superh.haskell-src-meta; }; }; } ) ]; }; haskellPackages.ghcWithPackages(p:[p.PyF]) ``` This will test with GHC 8.10. Comment out the `overlays` to test with GHC 8.8.
|
Next week we'll merge #85926. |
This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2020-04-17 20:00 CET. You can watch this live on Twitch at https://www.twitch.tv/peti343. In addition to the chat features offered by Twitch, there is also a voice conference at https://discord.gg/YTEa3XR that viewers can use to chat with me and with each other.
TODO
ghcWithPackagesfor ghc-8.10.x.ghc-lib-parser-ex-8.8.5.8seems to fail to compile for Niklas.nixdocker image: Minimize closure withkeep-derivations = falsedocker#13krankon our override files and collect a TODO list of possibly outdated items.all-cabal-hashesreference.masterto get it in for the next session.