Merge pull request #94347 from NixOS/haskell-updates

Update Haskell package set to LTS 16.7 (plus other fixes)
This commit is contained in:
Peter Simons 2020-07-31 21:32:45 +02:00 committed by GitHub
commit 102fa5492c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1718 additions and 680 deletions

View File

@ -1,6 +1,6 @@
{ fetchurl }: { fetchurl }:
fetchurl { fetchurl {
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/8af27e77a015d06c7a8fe49a430fd5334a93ebf7.tar.gz"; url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/edb0920a8dbbd592d67a781d0b905728515ab623.tar.gz";
sha256 = "1w5cfcvliy1ly8iq42l76ai5wgfnrwxf6hw5kq6p913qhhrcn5wr"; sha256 = "08yvpwzw7c3xw3w970ysykj44vglqfiq057kx0axk81s68v83rcy";
} }

View File

@ -460,6 +460,12 @@ self: super: {
bytestring-strict-builder = dontCheck super.bytestring-strict-builder; bytestring-strict-builder = dontCheck super.bytestring-strict-builder;
bytestring-tree-builder = dontCheck super.bytestring-tree-builder; bytestring-tree-builder = dontCheck super.bytestring-tree-builder;
# https://github.com/byteverse/bytebuild/issues/19
bytebuild = dontCheck super.bytebuild;
# https://github.com/andrewthad/haskell-ip/issues/67
ip = dontCheck super.ip;
# https://github.com/ndmitchell/shake/issues/206 # https://github.com/ndmitchell/shake/issues/206
# https://github.com/ndmitchell/shake/issues/267 # https://github.com/ndmitchell/shake/issues/267
shake = overrideCabal super.shake (drv: { doCheck = !pkgs.stdenv.isDarwin && false; }); shake = overrideCabal super.shake (drv: { doCheck = !pkgs.stdenv.isDarwin && false; });
@ -1342,7 +1348,7 @@ self: super: {
})).override { })).override {
# we are faster than stack here # we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_1; hie-bios = dontCheck self.hie-bios_0_6_1;
lsp-test = dontCheck self.lsp-test_0_11_0_2; lsp-test = dontCheck self.lsp-test_0_11_0_3;
}); });
haskell-language-server = (overrideCabal super.haskell-language-server haskell-language-server = (overrideCabal super.haskell-language-server
@ -1362,7 +1368,7 @@ self: super: {
ghcide = self.hls-ghcide; ghcide = self.hls-ghcide;
# we are faster than stack here # we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_1; hie-bios = dontCheck self.hie-bios_0_6_1;
lsp-test = dontCheck self.lsp-test_0_11_0_2; lsp-test = dontCheck self.lsp-test_0_11_0_3;
}; };
# https://github.com/kowainik/policeman/issues/57 # https://github.com/kowainik/policeman/issues/57
@ -1387,9 +1393,6 @@ self: super: {
sha256 = "1c5ck2ibag2gcyag6rjivmlwdlp5k0dmr8nhk7wlkzq2vh7zgw63"; sha256 = "1c5ck2ibag2gcyag6rjivmlwdlp5k0dmr8nhk7wlkzq2vh7zgw63";
}); });
# The current LTS 15.x version has a bug in the test suite.
streaming-commons = self.streaming-commons_0_2_2_1;
# Version bumps have not been merged by upstream yet. # Version bumps have not been merged by upstream yet.
# https://github.com/obsidiansystems/dependent-sum-aeson-orphans/pull/5 # https://github.com/obsidiansystems/dependent-sum-aeson-orphans/pull/5
dependent-sum-aeson-orphans = appendPatch super.dependent-sum-aeson-orphans (pkgs.fetchpatch { dependent-sum-aeson-orphans = appendPatch super.dependent-sum-aeson-orphans (pkgs.fetchpatch {
@ -1451,4 +1454,14 @@ self: super: {
}; };
}; };
# Testsuite trying to run `which haskeline-examples-Test`
haskeline_0_8_0_0 = dontCheck super.haskeline_0_8_0_0;
# Requires repline 0.4 which is the default only for ghc8101, override for the rest
zre = super.zre.override {
repline = self.repline_0_4_0_0.override {
haskeline = self.haskeline_0_8_0_0;
};
};
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View File

@ -111,6 +111,10 @@ self: super: {
}); });
# hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now. # hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now.
hnix = generateOptparseApplicativeCompletion "hnix" super.hnix; hnix = generateOptparseApplicativeCompletion "hnix"
(overrideCabal super.hnix (drv: {
# executable is allowed for ghc >= 8.10 and needs repline
executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ];
}));
} }

View File

@ -1,6 +1,6 @@
# pkgs/development/haskell-modules/configuration-hackage2nix.yaml # pkgs/development/haskell-modules/configuration-hackage2nix.yaml
compiler: ghc-8.8.3 compiler: ghc-8.8.4
core-packages: core-packages:
- array-0.5.4.0 - array-0.5.4.0
@ -72,7 +72,7 @@ default-package-overrides:
# gi-gdkx11-4.x requires gtk-4.x, which is still under development and # gi-gdkx11-4.x requires gtk-4.x, which is still under development and
# not yet available in Nixpkgs # not yet available in Nixpkgs
- gi-gdkx11 < 4 - gi-gdkx11 < 4
# LTS Haskell 16.6 # LTS Haskell 16.7
- abstract-deque ==0.3 - abstract-deque ==0.3
- abstract-par ==0.3.3 - abstract-par ==0.3.3
- AC-Angle ==1.0 - AC-Angle ==1.0
@ -262,7 +262,7 @@ default-package-overrides:
- attoparsec-path ==0.0.0.1 - attoparsec-path ==0.0.0.1
- audacity ==0.0.2 - audacity ==0.0.2
- aur ==7.0.3 - aur ==7.0.3
- aura ==3.1.5 - aura ==3.1.6
- authenticate ==1.3.5 - authenticate ==1.3.5
- authenticate-oauth ==1.6.0.1 - authenticate-oauth ==1.6.0.1
- auto ==0.4.3.1 - auto ==0.4.3.1
@ -430,7 +430,7 @@ default-package-overrides:
- chimera ==0.3.1.0 - chimera ==0.3.1.0
- chiphunk ==0.1.2.1 - chiphunk ==0.1.2.1
- choice ==0.2.2 - choice ==0.2.2
- chronologique ==0.3.1.1 - chronologique ==0.3.1.3
- chronos ==1.1.1 - chronos ==1.1.1
- chronos-bench ==0.2.0.2 - chronos-bench ==0.2.0.2
- chunked-data ==0.3.1 - chunked-data ==0.3.1
@ -912,7 +912,7 @@ default-package-overrides:
- ghc-syntax-highlighter ==0.0.6.0 - ghc-syntax-highlighter ==0.0.6.0
- ghc-tcplugins-extra ==0.4 - ghc-tcplugins-extra ==0.4
- ghc-typelits-extra ==0.4 - ghc-typelits-extra ==0.4
- ghc-typelits-knownnat ==0.7.2 - ghc-typelits-knownnat ==0.7.3
- ghc-typelits-natnormalise ==0.7.2 - ghc-typelits-natnormalise ==0.7.2
- ghc-typelits-presburger ==0.3.0.1 - ghc-typelits-presburger ==0.3.0.1
- ghost-buster ==0.1.1.0 - ghost-buster ==0.1.1.0
@ -1135,7 +1135,7 @@ default-package-overrides:
- http-client-openssl ==0.3.1.0 - http-client-openssl ==0.3.1.0
- http-client-overrides ==0.1.1.0 - http-client-overrides ==0.1.1.0
- http-client-tls ==0.3.5.3 - http-client-tls ==0.3.5.3
- http-common ==0.8.2.0 - http-common ==0.8.2.1
- http-conduit ==2.3.7.3 - http-conduit ==2.3.7.3
- http-date ==0.0.8 - http-date ==0.0.8
- http-directory ==0.1.8 - http-directory ==0.1.8
@ -1338,7 +1338,7 @@ default-package-overrides:
- libyaml ==0.1.2 - libyaml ==0.1.2
- LibZip ==1.0.1 - LibZip ==1.0.1
- life-sync ==1.1.1.0 - life-sync ==1.1.1.0
- lifted-async ==0.10.1.1 - lifted-async ==0.10.1.2
- lifted-base ==0.2.3.12 - lifted-base ==0.2.3.12
- lift-generics ==0.1.3 - lift-generics ==0.1.3
- line ==4.0.1 - line ==4.0.1
@ -1397,6 +1397,7 @@ default-package-overrides:
- matplotlib ==0.7.5 - matplotlib ==0.7.5
- matrices ==0.5.0 - matrices ==0.5.0
- matrix ==0.3.6.1 - matrix ==0.3.6.1
- matrix-as-xyz ==0.1.1.3
- matrix-market-attoparsec ==0.1.1.3 - matrix-market-attoparsec ==0.1.1.3
- matrix-static ==0.3 - matrix-static ==0.3
- maximal-cliques ==0.1.1 - maximal-cliques ==0.1.1
@ -1754,7 +1755,7 @@ default-package-overrides:
- profunctors ==5.5.2 - profunctors ==5.5.2
- projectroot ==0.2.0.1 - projectroot ==0.2.0.1
- project-template ==0.2.1.0 - project-template ==0.2.1.0
- prometheus-client ==1.0.0.1 - prometheus-client ==1.0.1
- promises ==0.3 - promises ==0.3
- prompt ==0.1.1.2 - prompt ==0.1.1.2
- prospect ==0.1.0.0 - prospect ==0.1.0.0
@ -2096,7 +2097,7 @@ default-package-overrides:
- stratosphere ==0.53.0 - stratosphere ==0.53.0
- streaming ==0.2.3.0 - streaming ==0.2.3.0
- streaming-bytestring ==0.1.6 - streaming-bytestring ==0.1.6
- streaming-commons ==0.2.2.0 - streaming-commons ==0.2.2.1
- streamly ==0.7.2 - streamly ==0.7.2
- streamly-bytestring ==0.1.2 - streamly-bytestring ==0.1.2
- streams ==3.3 - streams ==3.3
@ -2645,10 +2646,8 @@ package-maintainers:
- streaming-wai - streaming-wai
kiwi: kiwi:
- glirc - glirc
- matterhorn
- mattermost-api - mattermost-api
- mattermost-api-qc - mattermost-api-qc
- Unique
psibi: psibi:
- path-pieces - path-pieces
- persistent - persistent
@ -3556,12 +3555,13 @@ broken-packages:
- buster - buster
- buster-gtk - buster-gtk
- buster-network - buster-network
- bustle
- butter - butter
- butterflies - butterflies
- bv-sized - bv-sized
- byline
- bytable - bytable
- bytearray-parsing - bytearray-parsing
- bytebuild
- bytelog - bytelog
- bytestring-arbitrary - bytestring-arbitrary
- bytestring-builder-varword - bytestring-builder-varword
@ -4667,6 +4667,7 @@ broken-packages:
- elm-websocket - elm-websocket
- elynx - elynx
- elynx-markov - elynx-markov
- elynx-nexus
- elynx-seq - elynx-seq
- elynx-tools - elynx-tools
- elynx-tree - elynx-tree
@ -5902,7 +5903,6 @@ broken-packages:
- hasql-dynamic-statements - hasql-dynamic-statements
- hasql-generic - hasql-generic
- hasql-implicits - hasql-implicits
- hasql-migration
- hasql-optparse-applicative - hasql-optparse-applicative
- hasql-postgres - hasql-postgres
- hasql-postgres-options - hasql-postgres-options
@ -6619,6 +6619,7 @@ broken-packages:
- hw-json-simple-cursor - hw-json-simple-cursor
- hw-json-standard-cursor - hw-json-standard-cursor
- hw-kafka-avro - hw-kafka-avro
- hw-prim-bits
- hw-rankselect - hw-rankselect
- hw-simd - hw-simd
- hw-succinct - hw-succinct
@ -6798,6 +6799,7 @@ broken-packages:
- integer-pure - integer-pure
- integreat - integreat
- intel-aes - intel-aes
- intensional-datatys
- interlude-l - interlude-l
- InternedData - InternedData
- internetmarke - internetmarke
@ -6827,7 +6829,6 @@ broken-packages:
- iostring - iostring
- iothread - iothread
- iotransaction - iotransaction
- ip
- ip2location - ip2location
- ip2proxy - ip2proxy
- ipatch - ipatch
@ -7340,7 +7341,15 @@ broken-packages:
- lio-simple - lio-simple
- lipsum-gen - lipsum-gen
- liquid - liquid
- liquid-base
- liquid-bytestring
- liquid-containers
- liquid-fixpoint - liquid-fixpoint
- liquid-ghc-prim
- liquid-parallel
- liquid-platform
- liquid-prelude
- liquid-vector
- liquidhaskell - liquidhaskell
- liquidhaskell-cabal - liquidhaskell-cabal
- Liquorice - Liquorice
@ -7580,6 +7589,7 @@ broken-packages:
- matrix-market - matrix-market
- matrix-sized - matrix-sized
- matsuri - matsuri
- matterhorn
- maude - maude
- maxent - maxent
- maxent-learner-hw - maxent-learner-hw
@ -7884,6 +7894,7 @@ broken-packages:
- multibase - multibase
- multifocal - multifocal
- multihash - multihash
- multihash-cryptonite
- multihash-serialise - multihash-serialise
- multilinear - multilinear
- multilinear-io - multilinear-io
@ -8604,6 +8615,7 @@ broken-packages:
- polydata - polydata
- polydata-core - polydata-core
- polynomial - polynomial
- polysemy-optics
- polysemy-RandomFu - polysemy-RandomFu
- polysemy-webserver - polysemy-webserver
- polysemy-zoo - polysemy-zoo
@ -9979,6 +9991,7 @@ broken-packages:
- streaming-png - streaming-png
- streaming-process - streaming-process
- streaming-sort - streaming-sort
- streamly-archive
- streamly-lmdb - streamly-lmdb
- streamproc - streamproc
- strelka - strelka
@ -10407,6 +10420,7 @@ broken-packages:
- trackit - trackit
- traction - traction
- tracy - tracy
- trade-journal
- traildb - traildb
- trajectory - trajectory
- transactional-events - transactional-events
@ -10487,6 +10501,7 @@ broken-packages:
- turingMachine - turingMachine
- turtle-options - turtle-options
- tweak - tweak
- twee
- tweet-hs - tweet-hs
- twentefp-eventloop-graphics - twentefp-eventloop-graphics
- twentefp-eventloop-trees - twentefp-eventloop-trees
@ -10576,6 +10591,7 @@ broken-packages:
- UMM - UMM
- unagi-bloomfilter - unagi-bloomfilter
- unamb-custom - unamb-custom
- unbeliever
- unbound - unbound
- unbound-generics - unbound-generics
- unbound-kind-generics - unbound-kind-generics
@ -10599,6 +10615,7 @@ broken-packages:
- uniform-io - uniform-io
- union - union
- union-map - union-map
- Unique
- uniqueid - uniqueid
- uniquely-represented-sets - uniquely-represented-sets
- units-attoparsec - units-attoparsec
@ -10762,6 +10779,7 @@ broken-packages:
- views - views
- vigilance - vigilance
- Villefort - Villefort
- vimeta
- vimus - vimus
- vintage-basic - vintage-basic
- vinyl-gl - vinyl-gl

File diff suppressed because it is too large Load Diff