Merge pull request #95866 from NixOS/haskell-updates

Update Haskell package set to LTS 16.10 (plus other fixes)
This commit is contained in:
Peter Simons 2020-08-21 21:20:43 +02:00 committed by GitHub
commit 2a9483dd7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 1207 additions and 979 deletions

View File

@ -1,66 +0,0 @@
{ lib, haskellPackages, fetchFromGitHub }:
let
version = "1.10.0";
sha256 = "102iwn6011rypdlx07fzbdll3r5cd204qf96lzwkadvjb7h8clil";
in (haskellPackages.mkDerivation {
pname = "taskell";
inherit version;
src = fetchFromGitHub {
owner = "smallhadroncollider";
repo = "taskell";
rev = version;
inherit sha256;
};
postPatch = ''${haskellPackages.hpack}/bin/hpack'';
# basically justStaticExecutables; TODO: use justStaticExecutables
enableSharedExecutables = false;
enableLibraryProfiling = false;
isExecutable = true;
doHaddock = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
# copied from packages.yaml
libraryHaskellDepends = with haskellPackages; [
classy-prelude
# base <=5
aeson
brick
# bytestring
config-ini
# containers
# directory
file-embed
fold-debounce
http-conduit
http-client
http-types
lens
raw-strings-qq
# mtl
# template-haskell
# text
time
vty
tz
];
executableHaskellDepends = [];
testHaskellDepends = with haskellPackages; [
tasty
tasty-discover
tasty-expected-failure
tasty-hunit
];
description = "Command-line Kanban board/task manager with support for Trello boards and GitHub projects";
homepage = "https://taskell.app";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = [ "x86_64-linux" ];
})

View File

@ -296,7 +296,6 @@ self: super: {
hs2048 = dontCheck super.hs2048; hs2048 = dontCheck super.hs2048;
hsbencher = dontCheck super.hsbencher; hsbencher = dontCheck super.hsbencher;
hsexif = dontCheck super.hsexif; hsexif = dontCheck super.hsexif;
hspec-core = if pkgs.stdenv.isi686 then dontCheck super.hspec-core else super.hspec-core; # tests rely on `Int` being 64-bit; https://github.com/hspec/hspec/issues/431
hspec-server = dontCheck super.hspec-server; hspec-server = dontCheck super.hspec-server;
HTF = dontCheck super.HTF; HTF = dontCheck super.HTF;
htsn = dontCheck super.htsn; htsn = dontCheck super.htsn;
@ -315,6 +314,13 @@ self: super: {
then dontCheck super.math-functions # "erf table" test fails on Darwin https://github.com/bos/math-functions/issues/63 then dontCheck super.math-functions # "erf table" test fails on Darwin https://github.com/bos/math-functions/issues/63
else super.math-functions; else super.math-functions;
matplotlib = dontCheck super.matplotlib; matplotlib = dontCheck super.matplotlib;
# Needs the latest version of vty and brick.
matterhorn = super.matterhorn.overrideScope (self: super: {
brick = self.brick_0_55;
vty = self.vty_5_30;
});
memcache = dontCheck super.memcache; memcache = dontCheck super.memcache;
metrics = dontCheck super.metrics; metrics = dontCheck super.metrics;
milena = dontCheck super.milena; milena = dontCheck super.milena;
@ -834,6 +840,7 @@ self: super: {
then dontCheck then dontCheck
else pkgs.lib.id; else pkgs.lib.id;
in doJailbreak (f super.servant-docs); # jailbreak tasty < 1.2 until servant-docs > 0.11.3 is on hackage. in doJailbreak (f super.servant-docs); # jailbreak tasty < 1.2 until servant-docs > 0.11.3 is on hackage.
snap-templates = doJailbreak super.snap-templates; # https://github.com/snapframework/snap-templates/issues/22
swagger2 = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontHaddock (dontCheck super.swagger2) else super.swagger2; swagger2 = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontHaddock (dontCheck super.swagger2) else super.swagger2;
# Copy hledger man pages from data directory into the proper place. This code # Copy hledger man pages from data directory into the proper place. This code
@ -1323,42 +1330,6 @@ self: super: {
# https://github.com/ennocramer/monad-dijkstra/issues/4 # https://github.com/ennocramer/monad-dijkstra/issues/4
monad-dijkstra = dontCheck (doJailbreak super.monad-dijkstra); monad-dijkstra = dontCheck (doJailbreak super.monad-dijkstra);
# haskell-language-server uses its own fork of ghcide
# Test disabled: it seems to freeze (is it just that it takes a long time ?)
hls-ghcide =
dontCheck ((
overrideCabal super.hls-ghcide
(old: {
# The integration test run by lsp-test requires the executable to be in the PATH
preCheck = ''
export PATH=$PATH:dist/build/ghcide
'';
})).override {
# we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_2;
lsp-test = dontCheck self.lsp-test_0_11_0_4;
});
haskell-language-server = (overrideCabal super.haskell-language-server
(old: {
# The integration test run by lsp-test requires the executable to be in the PATH
preCheck = ''
export PATH=$PATH:dist/build/haskell-language-server
'';
# The wrapper test does not work for now.
testTarget = "func-test";
# test needs the git tool
testToolDepends = old.testToolDepends
++ [ pkgs.git ];
})).override {
# use a fork of ghcide
ghcide = self.hls-ghcide;
# we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_2;
lsp-test = dontCheck self.lsp-test_0_11_0_4;
};
# https://github.com/kowainik/policeman/issues/57 # https://github.com/kowainik/policeman/issues/57
policeman = doJailbreak super.policeman; policeman = doJailbreak super.policeman;
@ -1419,23 +1390,11 @@ self: super: {
reflex-dom-pandoc = super.reflex-dom-pandoc.override { reflex-dom-pandoc = super.reflex-dom-pandoc.override {
pandoc-types = self.pandoc-types_1_21; pandoc-types = self.pandoc-types_1_21;
}; };
pandoc_2_10_1 = super.pandoc_2_10_1.override { pandoc_2_10_1 = super.pandoc_2_10_1.overrideScope (self: super: {
pandoc-types = self.pandoc-types_1_21; pandoc-types = self.pandoc-types_1_21;
hslua = self.hslua_1_1_2; hslua = self.hslua_1_1_2;
texmath = self.texmath.override {
pandoc-types = self.pandoc-types_1_21;
};
tasty-lua = self.tasty-lua.override {
hslua = self.hslua_1_1_2;
};
hslua-module-text = self.hslua-module-text.override {
hslua = self.hslua_1_1_2;
};
hslua-module-system = self.hslua-module-system.override {
hslua = self.hslua_1_1_2;
};
jira-wiki-markup = self.jira-wiki-markup_1_3_2; jira-wiki-markup = self.jira-wiki-markup_1_3_2;
}; });
# Apply version-bump patch that is not contained in released version yet. # Apply version-bump patch that is not contained in released version yet.
# Upstream PR: https://github.com/srid/neuron/pull/304 # Upstream PR: https://github.com/srid/neuron/pull/304
@ -1447,14 +1406,10 @@ self: super: {
extraPrefix = ""; extraPrefix = "";
})) }))
# See comment about overrides above commonmark-pandoc # See comment about overrides above commonmark-pandoc
.override { .overrideScope (self: super: {
pandoc = self.pandoc_2_10_1; pandoc = self.pandoc_2_10_1;
pandoc-types = self.pandoc-types_1_21; pandoc-types = self.pandoc-types_1_21;
rib = super.rib.override { });
pandoc = self.pandoc_2_10_1;
pandoc-types = self.pandoc-types_1_21;
};
};
# Testsuite trying to run `which haskeline-examples-Test` # Testsuite trying to run `which haskeline-examples-Test`
haskeline_0_8_0_0 = dontCheck super.haskeline_0_8_0_0; haskeline_0_8_0_0 = dontCheck super.haskeline_0_8_0_0;
@ -1469,4 +1424,41 @@ self: super: {
# https://github.com/bos/statistics/issues/170 # https://github.com/bos/statistics/issues/170
statistics = dontCheck super.statistics; statistics = dontCheck super.statistics;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super hcoord = overrideCabal super.hcoord (drv: {
# Remove when https://github.com/danfran/hcoord/pull/8 is merged.
patches = [
(pkgs.fetchpatch {
url = "https://github.com/danfran/hcoord/pull/8/commits/762738b9e4284139f5c21f553667a9975bad688e.patch";
sha256 = "03r4jg9a6xh7w3jz3g4bs7ff35wa4rrmjgcggq51y0jc1sjqvhyz";
})
];
# Remove when https://github.com/danfran/hcoord/issues/9 is closed.
doCheck = false;
});
# Tests rely on `Int` being 64-bit: https://github.com/hspec/hspec/issues/431.
# Also, we need QuickCheck-2.14.x to build the test suite, which isn't easy in LTS-16.x.
# So let's not go there any just disable the tests altogether.
hspec-core = dontCheck super.hspec-core;
# INSERT NEW OVERRIDES ABOVE THIS LINE
} // (let
hlsScopeOverride = self: super: {
# haskell-language-server uses its own fork of ghcide
# Test disabled: it seems to freeze (is it just that it takes a long time ?)
ghcide = dontCheck self.hls-ghcide;
# we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_2;
lsp-test = dontCheck self.lsp-test_0_11_0_4;
# fourmolu cant compile with an older aeson
aeson = dontCheck super.aeson_1_5_2_0;
# brittany has an aeson upper bound of 1.5
brittany = doJailbreak super.brittany;
};
in {
haskell-language-server = dontCheck (super.haskell-language-server.overrideScope hlsScopeOverride);
hls-ghcide = dontCheck (super.hls-ghcide.overrideScope hlsScopeOverride);
fourmolu = super.fourmolu.overrideScope hlsScopeOverride;
}
) // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View File

@ -48,6 +48,7 @@ self: super: {
transformers = null; transformers = null;
unix = null; unix = null;
xhtml = null; xhtml = null;
exceptions = null;
# https://github.com/tibbe/unordered-containers/issues/214 # https://github.com/tibbe/unordered-containers/issues/214
unordered-containers = dontCheck super.unordered-containers; unordered-containers = dontCheck super.unordered-containers;

View File

@ -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.9 # LTS Haskell 16.10
- 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
@ -243,7 +243,7 @@ default-package-overrides:
- asn1-encoding ==0.9.6 - asn1-encoding ==0.9.6
- asn1-parse ==0.9.5 - asn1-parse ==0.9.5
- asn1-types ==0.3.4 - asn1-types ==0.3.4
- assert-failure ==0.1.2.3 - assert-failure ==0.1.2.4
- assoc ==1.0.2 - assoc ==1.0.2
- astro ==0.4.2.1 - astro ==0.4.2.1
- async ==2.2.2 - async ==2.2.2
@ -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.6 - aura ==3.1.7
- 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
@ -671,7 +671,7 @@ default-package-overrides:
- doldol ==0.4.1.2 - doldol ==0.4.1.2
- do-list ==1.0.1 - do-list ==1.0.1
- do-notation ==0.1.0.2 - do-notation ==0.1.0.2
- dotenv ==0.8.0.4 - dotenv ==0.8.0.6
- dotgen ==0.4.3 - dotgen ==0.4.3
- dotnet-timespan ==0.0.1.0 - dotnet-timespan ==0.0.1.0
- double-conversion ==2.0.2.0 - double-conversion ==2.0.2.0
@ -760,7 +760,7 @@ default-package-overrides:
- extended-reals ==0.2.4.0 - extended-reals ==0.2.4.0
- extensible-effects ==5.0.0.1 - extensible-effects ==5.0.0.1
- extensible-exceptions ==0.1.1.4 - extensible-exceptions ==0.1.1.4
- extra ==1.7.4 - extra ==1.7.5
- extractable-singleton ==0.0.1 - extractable-singleton ==0.0.1
- extrapolate ==0.4.2 - extrapolate ==0.4.2
- fail ==4.9.0.0 - fail ==4.9.0.0
@ -979,7 +979,7 @@ default-package-overrides:
- hall-symbols ==0.1.0.6 - hall-symbols ==0.1.0.6
- hamtsolo ==1.0.3 - hamtsolo ==1.0.3
- HandsomeSoup ==0.4.2 - HandsomeSoup ==0.4.2
- hapistrano ==0.4.1.0 - hapistrano ==0.4.1.2
- happstack-server ==7.6.1 - happstack-server ==7.6.1
- happy ==1.19.12 - happy ==1.19.12
- HasBigDecimal ==0.1.1 - HasBigDecimal ==0.1.1
@ -1007,7 +1007,7 @@ default-package-overrides:
- haskoin-core ==0.13.4 - haskoin-core ==0.13.4
- haskoin-node ==0.13.0 - haskoin-node ==0.13.0
- hasql ==1.4.3 - hasql ==1.4.3
- hasql-optparse-applicative ==0.3.0.5 - hasql-optparse-applicative ==0.3.0.6
- hasql-pool ==0.5.2 - hasql-pool ==0.5.2
- hasql-transaction ==1.0.0.1 - hasql-transaction ==1.0.0.1
- hasty-hamiltonian ==1.3.3 - hasty-hamiltonian ==1.3.3
@ -1088,18 +1088,18 @@ default-package-overrides:
- HSlippyMap ==3.0.1 - HSlippyMap ==3.0.1
- hslogger ==1.3.1.0 - hslogger ==1.3.1.0
- hslua ==1.0.3.2 - hslua ==1.0.3.2
- hslua-aeson ==1.0.2 - hslua-aeson ==1.0.3
- hslua-module-doclayout ==0.1.0 - hslua-module-doclayout ==0.1.0
- hslua-module-system ==0.2.1 - hslua-module-system ==0.2.2
- hslua-module-text ==0.2.1 - hslua-module-text ==0.2.1
- HsOpenSSL ==0.11.4.18 - HsOpenSSL ==0.11.4.18
- hsp ==0.10.0 - hsp ==0.10.0
- hspec ==2.7.1 - hspec ==2.7.2
- hspec-attoparsec ==0.1.0.2 - hspec-attoparsec ==0.1.0.2
- hspec-checkers ==0.1.0.2 - hspec-checkers ==0.1.0.2
- hspec-contrib ==0.5.1 - hspec-contrib ==0.5.1
- hspec-core ==2.7.1 - hspec-core ==2.7.2
- hspec-discover ==2.7.1 - hspec-discover ==2.7.2
- hspec-expectations ==0.8.2 - hspec-expectations ==0.8.2
- hspec-expectations-lifted ==0.10.0 - hspec-expectations-lifted ==0.10.0
- hspec-expectations-pretty-diff ==0.7.2.5 - hspec-expectations-pretty-diff ==0.7.2.5
@ -1258,7 +1258,7 @@ default-package-overrides:
- ix-shapable ==0.1.0 - ix-shapable ==0.1.0
- jack ==0.7.1.4 - jack ==0.7.1.4
- jira-wiki-markup ==1.1.4 - jira-wiki-markup ==1.1.4
- jose ==0.8.3 - jose ==0.8.3.1
- jose-jwt ==0.8.0 - jose-jwt ==0.8.0
- js-dgtable ==0.5.2 - js-dgtable ==0.5.2
- js-flot ==0.8.3 - js-flot ==0.8.3
@ -1289,7 +1289,7 @@ default-package-overrides:
- kmeans ==0.1.3 - kmeans ==0.1.3
- koofr-client ==1.0.0.3 - koofr-client ==1.0.0.3
- krank ==0.2.2 - krank ==0.2.2
- kubernetes-webhook-haskell ==0.2.0.2 - kubernetes-webhook-haskell ==0.2.0.3
- l10n ==0.1.0.1 - l10n ==0.1.0.1
- labels ==0.3.3 - labels ==0.3.3
- lackey ==1.0.13 - lackey ==1.0.13
@ -1394,7 +1394,7 @@ default-package-overrides:
- massiv-test ==0.1.3.1 - massiv-test ==0.1.3.1
- mathexpr ==0.3.0.0 - mathexpr ==0.3.0.0
- math-extras ==0.1.1.0 - math-extras ==0.1.1.0
- math-functions ==0.3.4.0 - math-functions ==0.3.4.1
- 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
@ -1466,7 +1466,7 @@ default-package-overrides:
- monad-extras ==0.6.0 - monad-extras ==0.6.0
- monadic-arrays ==0.2.2 - monadic-arrays ==0.2.2
- monad-journal ==0.8.1 - monad-journal ==0.8.1
- monad-logger ==0.3.34 - monad-logger ==0.3.35
- monad-logger-json ==0.1.0.0 - monad-logger-json ==0.1.0.0
- monad-logger-prefix ==0.1.11 - monad-logger-prefix ==0.1.11
- monad-loops ==0.4.3 - monad-loops ==0.4.3
@ -1589,7 +1589,7 @@ default-package-overrides:
- OneTuple ==0.2.2.1 - OneTuple ==0.2.2.1
- Only ==0.1 - Only ==0.1
- oo-prototypes ==0.1.0.0 - oo-prototypes ==0.1.0.0
- opaleye ==0.6.7005.0 - opaleye ==0.6.7006.1
- OpenAL ==1.7.0.5 - OpenAL ==1.7.0.5
- open-browser ==0.2.1.0 - open-browser ==0.2.1.0
- openexr-write ==0.1.0.2 - openexr-write ==0.1.0.2
@ -1786,7 +1786,7 @@ default-package-overrides:
- qchas ==1.1.0.1 - qchas ==1.1.0.1
- qm-interpolated-string ==0.3.0.0 - qm-interpolated-string ==0.3.0.0
- qrcode-core ==0.9.4 - qrcode-core ==0.9.4
- qrcode-juicypixels ==0.8.1 - qrcode-juicypixels ==0.8.2
- quadratic-irrational ==0.1.1 - quadratic-irrational ==0.1.1
- QuasiText ==0.1.2.6 - QuasiText ==0.1.2.6
- QuickCheck ==2.13.2 - QuickCheck ==2.13.2
@ -1835,7 +1835,7 @@ default-package-overrides:
- reanimate ==0.3.3.0 - reanimate ==0.3.3.0
- reanimate-svg ==0.9.8.0 - reanimate-svg ==0.9.8.0
- rebase ==1.6.1 - rebase ==1.6.1
- record-dot-preprocessor ==0.2.5 - record-dot-preprocessor ==0.2.6
- record-hasfield ==1.0 - record-hasfield ==1.0
- records-sop ==0.1.0.3 - records-sop ==0.1.0.3
- recursion-schemes ==5.1.3 - recursion-schemes ==5.1.3
@ -2170,7 +2170,7 @@ default-package-overrides:
- tasty-hunit ==0.10.0.2 - tasty-hunit ==0.10.0.2
- tasty-kat ==0.0.3 - tasty-kat ==0.0.3
- tasty-leancheck ==0.0.1 - tasty-leancheck ==0.0.1
- tasty-lua ==0.2.2 - tasty-lua ==0.2.3
- tasty-program ==1.0.5 - tasty-program ==1.0.5
- tasty-quickcheck ==0.10.1.1 - tasty-quickcheck ==0.10.1.1
- tasty-rerun ==1.1.17 - tasty-rerun ==1.1.17
@ -2294,7 +2294,7 @@ default-package-overrides:
- tuples-homogenous-h98 ==0.1.1.0 - tuples-homogenous-h98 ==0.1.1.0
- tuple-sop ==0.3.1.0 - tuple-sop ==0.3.1.0
- tuple-th ==0.2.5 - tuple-th ==0.2.5
- turtle ==1.5.19 - turtle ==1.5.20
- TypeCompose ==0.9.14 - TypeCompose ==0.9.14
- typed-process ==0.2.6.0 - typed-process ==0.2.6.0
- typed-uuid ==0.0.0.2 - typed-uuid ==0.0.0.2
@ -2408,7 +2408,7 @@ default-package-overrides:
- void ==0.7.3 - void ==0.7.3
- vty ==5.28.2 - vty ==5.28.2
- wai ==3.2.2.1 - wai ==3.2.2.1
- wai-app-static ==3.1.7.1 - wai-app-static ==3.1.7.2
- wai-conduit ==3.0.0.4 - wai-conduit ==3.0.0.4
- wai-cors ==0.2.7 - wai-cors ==0.2.7
- wai-enforce-https ==0.0.2.1 - wai-enforce-https ==0.0.2.1
@ -2540,6 +2540,7 @@ default-package-overrides:
extra-packages: extra-packages:
- aeson < 0.8 # newer versions don't work with GHC 7.6.x or earlier - aeson < 0.8 # newer versions don't work with GHC 7.6.x or earlier
- aeson == 1.5.2.0 # needed for fourmolu 0.1.0.0, but 1.5.3 is to new for our purpose
- aeson-pretty < 0.8 # required by elm compiler - aeson-pretty < 0.8 # required by elm compiler
- Agda == 2.6.1 # allows the agdaPackage set to be fixed to this version so that it won't break when another agda version is released. - Agda == 2.6.1 # allows the agdaPackage set to be fixed to this version so that it won't break when another agda version is released.
- ansi-terminal == 0.10.3 # required by cabal-plan, and policeman in ghc-8.8.x - ansi-terminal == 0.10.3 # required by cabal-plan, and policeman in ghc-8.8.x
@ -2580,6 +2581,7 @@ extra-packages:
- hoogle == 5.0.14 # required by hie-hoogle - hoogle == 5.0.14 # required by hie-hoogle
- html-conduit ^>= 1.2 # pre-lts-11.x versions neeed by git-annex 6.20180227 - html-conduit ^>= 1.2 # pre-lts-11.x versions neeed by git-annex 6.20180227
- http-conduit ^>= 2.2 # pre-lts-11.x versions neeed by git-annex 6.20180227 - http-conduit ^>= 2.2 # pre-lts-11.x versions neeed by git-annex 6.20180227
- hslua == 1.1.2 # required for pandoc 2.10
- inline-c < 0.6 # required on GHC 8.0.x - inline-c < 0.6 # required on GHC 8.0.x
- inline-c-cpp < 0.2 # required on GHC 8.0.x - inline-c-cpp < 0.2 # required on GHC 8.0.x
- lens-labels == 0.1.* # required for proto-lens-descriptors - lens-labels == 0.1.* # required for proto-lens-descriptors
@ -2759,6 +2761,7 @@ dont-distribute-packages:
- boolector - boolector
- ccelerate-cuda - ccelerate-cuda
- cplex-hs - cplex-hs
- cuda # 2020-08-18 because of dependency nvidia-x11
- cublas - cublas
- cufft - cufft
- cusolver - cusolver
@ -3744,6 +3747,7 @@ broken-packages:
- cgen - cgen
- cgi-utils - cgi-utils
- cgrep - cgrep
- chainweb-mining-client
- chalkboard - chalkboard
- chalkboard-viewer - chalkboard-viewer
- charade - charade
@ -5074,7 +5078,6 @@ broken-packages:
- foscam-filename - foscam-filename
- foscam-sort - foscam-sort
- Foster - Foster
- fourmolu
- fpco-api - fpco-api
- fplll - fplll
- fpnla-examples - fpnla-examples
@ -5904,6 +5907,7 @@ broken-packages:
- hasql-queue - hasql-queue
- hasql-simple - hasql-simple
- hasql-th - hasql-th
- hasqly-mysql
- hastache - hastache
- hastache-aeson - hastache-aeson
- haste - haste
@ -5956,7 +5960,6 @@ broken-packages:
- hcltest - hcltest
- hcoap - hcoap
- hcom - hcom
- hcoord
- hcron - hcron
- hCsound - hCsound
- hcube - hcube
@ -6229,7 +6232,6 @@ broken-packages:
- hobbes - hobbes
- hobbits - hobbits
- hocilib - hocilib
- hocker
- hodatime - hodatime
- HODE - HODE
- hoe - hoe
@ -6702,20 +6704,8 @@ broken-packages:
- ignore - ignore
- igraph - igraph
- igrf - igrf
- ihaskell
- ihaskell-aeson
- ihaskell-basic - ihaskell-basic
- ihaskell-blaze
- ihaskell-charts
- ihaskell-diagrams
- ihaskell-display - ihaskell-display
- ihaskell-gnuplot
- ihaskell-graphviz
- ihaskell-hatex
- ihaskell-hvega
- ihaskell-inline-r
- ihaskell-juicypixels
- ihaskell-magic
- ihaskell-parsec - ihaskell-parsec
- ihaskell-plot - ihaskell-plot
- ihaskell-rlangqq - ihaskell-rlangqq
@ -6778,7 +6768,6 @@ broken-packages:
- inject-function - inject-function
- inline-asm - inline-asm
- inline-java - inline-java
- inline-r
- inserts - inserts
- inspector-wrecker - inspector-wrecker
- instana-haskell-trace-sdk - instana-haskell-trace-sdk
@ -9165,7 +9154,6 @@ broken-packages:
- rethinkdb-client-driver - rethinkdb-client-driver
- rethinkdb-model - rethinkdb-model
- rethinkdb-wereHamster - rethinkdb-wereHamster
- retrie
- retryer - retryer
- reverse-geocoding - reverse-geocoding
- reversi - reversi
@ -9724,7 +9712,6 @@ broken-packages:
- snap-loader-static - snap-loader-static
- snap-routes - snap-routes
- snap-stream - snap-stream
- snap-templates
- snap-testing - snap-testing
- snap-utils - snap-utils
- snap-web-routes - snap-web-routes
@ -10091,6 +10078,7 @@ broken-packages:
- sym - sym
- sym-plot - sym-plot
- symantic - symantic
- symantic-atom
- symantic-http-test - symantic-http-test
- symantic-lib - symantic-lib
- symantic-xml - symantic-xml
@ -10170,7 +10158,6 @@ broken-packages:
- tart - tart
- task - task
- task-distribution - task-distribution
- taskell
- TaskMonad - TaskMonad
- tasty-auto - tasty-auto
- tasty-bdd - tasty-bdd

View File

@ -655,16 +655,16 @@ self: super: builtins.intersectAttrs super {
# This defines the version of the purescript-docs-search release we are using. # This defines the version of the purescript-docs-search release we are using.
# This is defined in the src/Spago/Prelude.hs file in the spago source. # This is defined in the src/Spago/Prelude.hs file in the spago source.
docsSearchVersion = "v0.0.8"; docsSearchVersion = "v0.0.10";
docsSearchAppJsFile = pkgs.fetchurl { docsSearchAppJsFile = pkgs.fetchurl {
url = "https://github.com/spacchetti/purescript-docs-search/releases/download/${docsSearchVersion}/docs-search-app.js"; url = "https://github.com/spacchetti/purescript-docs-search/releases/download/${docsSearchVersion}/docs-search-app.js";
sha256 = "00pzi7pgjicpa0mg0al80gh2q1q2lqiyb3kjarpydlmn8dfjny7v"; sha256 = "0m5ah29x290r0zk19hx2wix2djy7bs4plh9kvjz6bs9r45x25pa5";
}; };
purescriptDocsSearchFile = pkgs.fetchurl { purescriptDocsSearchFile = pkgs.fetchurl {
url = "https://github.com/spacchetti/purescript-docs-search/releases/download/${docsSearchVersion}/purescript-docs-search"; url = "https://github.com/spacchetti/purescript-docs-search/releases/download/${docsSearchVersion}/purescript-docs-search";
sha256 = "1hsi1hc4p1z2xbw82w2jxmmczw6mravli1r89vrkivb72sqdjya7"; sha256 = "0wc1zyhli4m2yykc6i0crm048gyizxh7b81n8xc4yb7ibjqwhyj3";
}; };
spagoFixHpack = overrideCabal spagoWithOverrides (drv: { spagoFixHpack = overrideCabal spagoWithOverrides (drv: {
@ -767,4 +767,8 @@ self: super: builtins.intersectAttrs super {
postgresql-libpq-notify = dontCheck super.postgresql-libpq-notify; postgresql-libpq-notify = dontCheck super.postgresql-libpq-notify;
postgresql-pure = dontCheck super.postgresql-pure; postgresql-pure = dontCheck super.postgresql-pure;
retrie = overrideCabal super.retrie (drv: {
testToolDepends = [ pkgs.git pkgs.mercurial ];
});
} }

View File

@ -21,7 +21,7 @@ in
, configureFlags ? [] , configureFlags ? []
, buildFlags ? [] , buildFlags ? []
, haddockFlags ? [] , haddockFlags ? []
, description ? "" , description ? null
, doCheck ? !isCross && stdenv.lib.versionOlder "7.4" ghc.version , doCheck ? !isCross && stdenv.lib.versionOlder "7.4" ghc.version
, doBenchmark ? false , doBenchmark ? false
, doHoogle ? true , doHoogle ? true
@ -50,7 +50,7 @@ in
, jailbreak ? false , jailbreak ? false
, license , license
, enableParallelBuilding ? true , enableParallelBuilding ? true
, maintainers ? [] , maintainers ? null
, doCoverage ? false , doCoverage ? false
, doHaddock ? !(ghc.isHaLVM or false) , doHaddock ? !(ghc.isHaLVM or false)
, passthru ? {} , passthru ? {}
@ -59,14 +59,14 @@ in
, benchmarkDepends ? [], benchmarkHaskellDepends ? [], benchmarkSystemDepends ? [], benchmarkFrameworkDepends ? [] , benchmarkDepends ? [], benchmarkHaskellDepends ? [], benchmarkSystemDepends ? [], benchmarkFrameworkDepends ? []
, testTarget ? "" , testTarget ? ""
, broken ? false , broken ? false
, preCompileBuildDriver ? "", postCompileBuildDriver ? "" , preCompileBuildDriver ? null, postCompileBuildDriver ? null
, preUnpack ? "", postUnpack ? "" , preUnpack ? null, postUnpack ? null
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? "" , patches ? null, patchPhase ? null, prePatch ? "", postPatch ? ""
, preConfigure ? "", postConfigure ? "" , preConfigure ? null, postConfigure ? null
, preBuild ? "", postBuild ? "" , preBuild ? null, postBuild ? null
, installPhase ? "", preInstall ? "", postInstall ? "" , installPhase ? null, preInstall ? null, postInstall ? null
, checkPhase ? "", preCheck ? "", postCheck ? "" , checkPhase ? null, preCheck ? null, postCheck ? null
, preFixup ? "", postFixup ? "" , preFixup ? null, postFixup ? null
, shellHook ? "" , shellHook ? ""
, coreSetup ? false # Use only core packages to build Setup.hs. , coreSetup ? false # Use only core packages to build Setup.hs.
, useCpphs ? false , useCpphs ? false
@ -636,34 +636,34 @@ stdenv.mkDerivation ({
}; };
meta = { inherit homepage license platforms; } meta = { inherit homepage license platforms; }
// optionalAttrs broken { inherit broken; } // optionalAttrs (args ? broken) { inherit broken; }
// optionalAttrs (description != "") { inherit description; } // optionalAttrs (args ? description) { inherit description; }
// optionalAttrs (maintainers != []) { inherit maintainers; } // optionalAttrs (args ? maintainers) { inherit maintainers; }
// optionalAttrs (hydraPlatforms != null) { inherit hydraPlatforms; } // optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
; ;
} }
// optionalAttrs (preCompileBuildDriver != "") { inherit preCompileBuildDriver; } // optionalAttrs (args ? preCompileBuildDriver) { inherit preCompileBuildDriver; }
// optionalAttrs (postCompileBuildDriver != "") { inherit postCompileBuildDriver; } // optionalAttrs (args ? postCompileBuildDriver) { inherit postCompileBuildDriver; }
// optionalAttrs (preUnpack != "") { inherit preUnpack; } // optionalAttrs (args ? preUnpack) { inherit preUnpack; }
// optionalAttrs (postUnpack != "") { inherit postUnpack; } // optionalAttrs (args ? postUnpack) { inherit postUnpack; }
// optionalAttrs (patches != []) { inherit patches; } // optionalAttrs (args ? patches) { inherit patches; }
// optionalAttrs (patchPhase != "") { inherit patchPhase; } // optionalAttrs (args ? patchPhase) { inherit patchPhase; }
// optionalAttrs (preConfigure != "") { inherit preConfigure; } // optionalAttrs (args ? preConfigure) { inherit preConfigure; }
// optionalAttrs (postConfigure != "") { inherit postConfigure; } // optionalAttrs (args ? postConfigure) { inherit postConfigure; }
// optionalAttrs (preBuild != "") { inherit preBuild; } // optionalAttrs (args ? preBuild) { inherit preBuild; }
// optionalAttrs (postBuild != "") { inherit postBuild; } // optionalAttrs (args ? postBuild) { inherit postBuild; }
// optionalAttrs (doBenchmark) { inherit doBenchmark; } // optionalAttrs (args ? doBenchmark) { inherit doBenchmark; }
// optionalAttrs (checkPhase != "") { inherit checkPhase; } // optionalAttrs (args ? checkPhase) { inherit checkPhase; }
// optionalAttrs (preCheck != "") { inherit preCheck; } // optionalAttrs (args ? preCheck) { inherit preCheck; }
// optionalAttrs (postCheck != "") { inherit postCheck; } // optionalAttrs (args ? postCheck) { inherit postCheck; }
// optionalAttrs (preInstall != "") { inherit preInstall; } // optionalAttrs (args ? preInstall) { inherit preInstall; }
// optionalAttrs (installPhase != "") { inherit installPhase; } // optionalAttrs (args ? installPhase) { inherit installPhase; }
// optionalAttrs (postInstall != "") { inherit postInstall; } // optionalAttrs (args ? postInstall) { inherit postInstall; }
// optionalAttrs (preFixup != "") { inherit preFixup; } // optionalAttrs (args ? preFixup) { inherit preFixup; }
// optionalAttrs (postFixup != "") { inherit postFixup; } // optionalAttrs (args ? postFixup) { inherit postFixup; }
// optionalAttrs (dontStrip) { inherit dontStrip; } // optionalAttrs (args ? dontStrip) { inherit dontStrip; }
// optionalAttrs (hardeningDisable != []) { inherit hardeningDisable; } // optionalAttrs (args ? hardeningDisable) { inherit hardeningDisable; }
// optionalAttrs (stdenv.buildPlatform.libc == "glibc"){ LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; } // optionalAttrs (stdenv.buildPlatform.libc == "glibc"){ LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
) )
) )

File diff suppressed because it is too large Load Diff

View File

@ -105,8 +105,9 @@ symlinkJoin {
--set "NIX_${ghcCommandCaps}_LIBDIR" "${libDir}" --set "NIX_${ghcCommandCaps}_LIBDIR" "${libDir}"
fi fi
# ghcide and haskell-language-server do package discovery without calling our ghc wrapper. # ghcide 0.2.0 does package discovery without calling our ghc wrapper.
for prg in ghcide haskell-language-server; do # 2020-08-16 We can most likely remove this workaround as soon as we build ghcide with a newer hie-bios (currently we use 0.5.1 from stack)
for prg in ghcide; do
if [[ -x "$out/bin/$prg" ]]; then if [[ -x "$out/bin/$prg" ]]; then
wrapProgram $out/bin/$prg \ wrapProgram $out/bin/$prg \
--set "NIX_${ghcCommandCaps}" "$out/bin/${ghcCommand}" \ --set "NIX_${ghcCommandCaps}" "$out/bin/${ghcCommand}" \

View File

@ -1,30 +1,31 @@
{ mkDerivation, aeson, base, binary, blaze-markup, brittany { mkDerivation, aeson, base, binary, blaze-markup, brittany
, bytestring, containers, data-default, deepseq, Diff, directory , bytestring, containers, data-default, deepseq, Diff, directory
, extra, fetchgit, filepath, floskell, ghc, ghc-paths, ghcide , extra, fetchgit, filepath, floskell, fourmolu, ghc, ghc-boot-th
, gitrev, hashable, haskell-lsp, haskell-lsp-types, hie-bios , ghc-paths, ghcide, gitrev, hashable, haskell-lsp
, hslogger, hspec, hspec-core, hspec-expectations, lens, lsp-test , haskell-lsp-types, hie-bios, hslogger, hspec, hspec-core, lens
, optparse-applicative, optparse-simple, ormolu, process , lsp-test, optparse-applicative, optparse-simple, ormolu, process
, regex-tdfa, safe-exceptions, shake, stdenv, stm, stylish-haskell , regex-tdfa, retrie, safe-exceptions, shake, stdenv, stm
, tasty, tasty-ant-xml, tasty-expected-failure, tasty-golden , stylish-haskell, tasty, tasty-ant-xml, tasty-expected-failure
, tasty-hunit, tasty-rerun, temporary, text, time, transformers , tasty-golden, tasty-hunit, tasty-rerun, temporary, text, time
, unix, unordered-containers, yaml , transformers, unix, unordered-containers, yaml
}: }:
mkDerivation { mkDerivation {
pname = "haskell-language-server"; pname = "haskell-language-server";
version = "0.2.2.0"; version = "0.3.0.0";
src = fetchgit { src = fetchgit {
url = "https://github.com/haskell/haskell-language-server.git"; url = "https://github.com/haskell/haskell-language-server.git";
sha256 = "0g9g2gyb0fidx16l741ky12djxh4cid9akvxa48105iq1gdihd8l"; sha256 = "0gh3sgy6a08d8d3q6r2qn5r817ilzka2qkp0g0y6wsx7rjwag0yx";
rev = "12c0e4423263140e3d16e76681927ec69fe4929f"; rev = "23dda97f583e8ff39993b89c01bbd1ac24187605";
fetchSubmodules = true; fetchSubmodules = true;
}; };
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
libraryHaskellDepends = [ libraryHaskellDepends = [
aeson base binary brittany bytestring containers data-default aeson base binary brittany bytestring containers data-default
deepseq Diff directory extra filepath floskell ghc ghcide gitrev deepseq Diff directory extra filepath floskell fourmolu ghc
hashable haskell-lsp hie-bios hslogger lens optparse-simple ormolu ghc-boot-th ghcide gitrev hashable haskell-lsp hie-bios hslogger
process regex-tdfa shake stylish-haskell temporary text time lens optparse-simple ormolu process regex-tdfa retrie
safe-exceptions shake stylish-haskell temporary text time
transformers unix unordered-containers transformers unix unordered-containers
]; ];
executableHaskellDepends = [ executableHaskellDepends = [
@ -36,9 +37,9 @@ mkDerivation {
testHaskellDepends = [ testHaskellDepends = [
aeson base blaze-markup bytestring containers data-default aeson base blaze-markup bytestring containers data-default
directory filepath haskell-lsp haskell-lsp-types hie-bios hslogger directory filepath haskell-lsp haskell-lsp-types hie-bios hslogger
hspec hspec-core hspec-expectations lens lsp-test process stm tasty hspec hspec-core lens lsp-test process stm tasty tasty-ant-xml
tasty-ant-xml tasty-expected-failure tasty-golden tasty-hunit tasty-expected-failure tasty-golden tasty-hunit tasty-rerun
tasty-rerun temporary text transformers unordered-containers yaml temporary text transformers unordered-containers yaml
]; ];
testToolDepends = [ ghcide ]; testToolDepends = [ ghcide ];
homepage = "https://github.com/haskell/haskell-language-server#readme"; homepage = "https://github.com/haskell/haskell-language-server#readme";

View File

@ -7,7 +7,7 @@
, hie-bios, hslogger, lens, lsp-test, mtl, network-uri , hie-bios, hslogger, lens, lsp-test, mtl, network-uri
, opentelemetry, optparse-applicative, prettyprinter , opentelemetry, optparse-applicative, prettyprinter
, prettyprinter-ansi-terminal, process, QuickCheck , prettyprinter-ansi-terminal, process, QuickCheck
, quickcheck-instances, regex-tdfa, rope-utf16-splay , quickcheck-instances, regex-tdfa, rope-utf16-splay, safe
, safe-exceptions, shake, sorted-list, stdenv, stm, syb, tasty , safe-exceptions, shake, sorted-list, stdenv, stm, syb, tasty
, tasty-expected-failure, tasty-hunit, tasty-quickcheck , tasty-expected-failure, tasty-hunit, tasty-quickcheck
, tasty-rerun, text, time, transformers, unix, unordered-containers , tasty-rerun, text, time, transformers, unix, unordered-containers
@ -17,9 +17,9 @@ mkDerivation {
pname = "ghcide"; pname = "ghcide";
version = "0.2.0"; version = "0.2.0";
src = fetchgit { src = fetchgit {
url = "https://github.com/bubba/ghcide"; url = "https://github.com/wz1000/ghcide";
sha256 = "1kj2i86mkaxgxlrbmv2d24mch7hywgcy2n61z8paj21chncs1j5w"; sha256 = "1zq7ngaak8il91a309rl51dghzasnk4m2sm3av6d93cyqyra1hfc";
rev = "7e895cfa53260b41996df707baec496a8f2c75dc"; rev = "078e3d3c0d319f83841ccbcdc60ff5f0e243f6be";
fetchSubmodules = true; fetchSubmodules = true;
}; };
isLibrary = true; isLibrary = true;
@ -30,23 +30,23 @@ mkDerivation {
filepath fuzzy ghc ghc-boot ghc-boot-th ghc-check ghc-paths filepath fuzzy ghc ghc-boot ghc-boot-th ghc-check ghc-paths
haddock-library hashable haskell-lsp haskell-lsp-types hie-bios haddock-library hashable haskell-lsp haskell-lsp-types hie-bios
hslogger mtl network-uri opentelemetry prettyprinter hslogger mtl network-uri opentelemetry prettyprinter
prettyprinter-ansi-terminal regex-tdfa rope-utf16-splay prettyprinter-ansi-terminal regex-tdfa rope-utf16-splay safe
safe-exceptions shake sorted-list stm syb text time transformers safe-exceptions shake sorted-list stm syb text time transformers
unix unordered-containers utf8-string unix unordered-containers utf8-string
]; ];
executableHaskellDepends = [ executableHaskellDepends = [
aeson base bytestring containers data-default directory extra aeson base bytestring containers data-default directory extra
filepath gitrev hashable haskell-lsp haskell-lsp-types hie-bios filepath gitrev hashable haskell-lsp haskell-lsp-types hie-bios
lsp-test optparse-applicative process safe-exceptions text lens lsp-test optparse-applicative process safe-exceptions text
unordered-containers unordered-containers
]; ];
testHaskellDepends = [ testHaskellDepends = [
aeson base bytestring containers directory extra filepath ghc aeson base binary bytestring containers directory extra filepath
ghc-typelits-knownnat haddock-library haskell-lsp haskell-lsp-types ghc ghc-typelits-knownnat haddock-library haskell-lsp
lens lsp-test network-uri optparse-applicative process QuickCheck haskell-lsp-types lens lsp-test network-uri optparse-applicative
quickcheck-instances rope-utf16-splay safe-exceptions shake tasty process QuickCheck quickcheck-instances rope-utf16-splay safe
tasty-expected-failure tasty-hunit tasty-quickcheck tasty-rerun safe-exceptions shake tasty tasty-expected-failure tasty-hunit
text tasty-quickcheck tasty-rerun text
]; ];
benchmarkHaskellDepends = [ benchmarkHaskellDepends = [
aeson base Chart Chart-diagrams diagrams diagrams-svg directory aeson base Chart Chart-diagrams diagrams diagrams-svg directory

View File

@ -29,7 +29,7 @@ ghcide_new_version=$(curl --silent "https://api.github.com/repos/haskell/haskell
echo "Updating haskell-language-server from old version $ghcide_old_version to new version $ghcide_new_version." echo "Updating haskell-language-server from old version $ghcide_old_version to new version $ghcide_new_version."
echo "Running cabal2nix and outputting to ${ghcide_derivation_file}..." echo "Running cabal2nix and outputting to ${ghcide_derivation_file}..."
cabal2nix --revision "$ghcide_new_version" "https://github.com/bubba/ghcide" > "$ghcide_derivation_file" cabal2nix --revision "$ghcide_new_version" "https://github.com/wz1000/ghcide" > "$ghcide_derivation_file"
# =========================== # ===========================

View File

@ -11,11 +11,11 @@
}: }:
mkDerivation { mkDerivation {
pname = "spago"; pname = "spago";
version = "0.15.3"; version = "0.16.0";
src = fetchgit { src = fetchgit {
url = "https://github.com/purescript/spago.git"; url = "https://github.com/purescript/spago.git";
sha256 = "0spc7r531kmh9magaxzy4jls3bzfazwf8sq3qzk6f292d7ky6n8y"; sha256 = "0z4s0z14n1v9wajs7mj2b295rrrw24gdca79drzlv6x1y6dj7sxh";
rev = "da6d91c19b23f06f3ede793f78599a6589c9e7cd"; rev = "71b093cdf5e48ded645303281ab4a3ea5b730f5d";
fetchSubmodules = true; fetchSubmodules = true;
}; };
isLibrary = true; isLibrary = true;

View File

@ -22985,7 +22985,7 @@ in
teamspeak_client = libsForQt512.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { }; teamspeak_client = libsForQt512.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak_server = callPackage ../applications/networking/instant-messengers/teamspeak/server.nix { }; teamspeak_server = callPackage ../applications/networking/instant-messengers/teamspeak/server.nix { };
taskell = callPackage ../applications/misc/taskell { }; taskell = haskell.lib.justStaticExecutables haskellPackages.taskell;
taskjuggler = callPackage ../applications/misc/taskjuggler { }; taskjuggler = callPackage ../applications/misc/taskjuggler { };