Merge pull request #95866 from NixOS/haskell-updates
Update Haskell package set to LTS 16.10 (plus other fixes)
This commit is contained in:
commit
2a9483dd7c
13 changed files with 1207 additions and 979 deletions
|
@ -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" ];
|
||||
})
|
|
@ -296,7 +296,6 @@ self: super: {
|
|||
hs2048 = dontCheck super.hs2048;
|
||||
hsbencher = dontCheck super.hsbencher;
|
||||
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;
|
||||
HTF = dontCheck super.HTF;
|
||||
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
|
||||
else super.math-functions;
|
||||
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;
|
||||
metrics = dontCheck super.metrics;
|
||||
milena = dontCheck super.milena;
|
||||
|
@ -834,6 +840,7 @@ self: super: {
|
|||
then dontCheck
|
||||
else pkgs.lib.id;
|
||||
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;
|
||||
|
||||
# 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
|
||||
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
|
||||
policeman = doJailbreak super.policeman;
|
||||
|
||||
|
@ -1419,23 +1390,11 @@ self: super: {
|
|||
reflex-dom-pandoc = super.reflex-dom-pandoc.override {
|
||||
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;
|
||||
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;
|
||||
};
|
||||
});
|
||||
|
||||
# Apply version-bump patch that is not contained in released version yet.
|
||||
# Upstream PR: https://github.com/srid/neuron/pull/304
|
||||
|
@ -1447,14 +1406,10 @@ self: super: {
|
|||
extraPrefix = "";
|
||||
}))
|
||||
# See comment about overrides above commonmark-pandoc
|
||||
.override {
|
||||
.overrideScope (self: super: {
|
||||
pandoc = self.pandoc_2_10_1;
|
||||
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`
|
||||
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
|
||||
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 can‘t 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
|
||||
|
|
|
@ -48,6 +48,7 @@ self: super: {
|
|||
transformers = null;
|
||||
unix = null;
|
||||
xhtml = null;
|
||||
exceptions = null;
|
||||
|
||||
# https://github.com/tibbe/unordered-containers/issues/214
|
||||
unordered-containers = dontCheck super.unordered-containers;
|
||||
|
|
|
@ -72,7 +72,7 @@ default-package-overrides:
|
|||
# gi-gdkx11-4.x requires gtk-4.x, which is still under development and
|
||||
# not yet available in Nixpkgs
|
||||
- gi-gdkx11 < 4
|
||||
# LTS Haskell 16.9
|
||||
# LTS Haskell 16.10
|
||||
- abstract-deque ==0.3
|
||||
- abstract-par ==0.3.3
|
||||
- AC-Angle ==1.0
|
||||
|
@ -243,7 +243,7 @@ default-package-overrides:
|
|||
- asn1-encoding ==0.9.6
|
||||
- asn1-parse ==0.9.5
|
||||
- asn1-types ==0.3.4
|
||||
- assert-failure ==0.1.2.3
|
||||
- assert-failure ==0.1.2.4
|
||||
- assoc ==1.0.2
|
||||
- astro ==0.4.2.1
|
||||
- async ==2.2.2
|
||||
|
@ -262,7 +262,7 @@ default-package-overrides:
|
|||
- attoparsec-path ==0.0.0.1
|
||||
- audacity ==0.0.2
|
||||
- aur ==7.0.3
|
||||
- aura ==3.1.6
|
||||
- aura ==3.1.7
|
||||
- authenticate ==1.3.5
|
||||
- authenticate-oauth ==1.6.0.1
|
||||
- auto ==0.4.3.1
|
||||
|
@ -671,7 +671,7 @@ default-package-overrides:
|
|||
- doldol ==0.4.1.2
|
||||
- do-list ==1.0.1
|
||||
- do-notation ==0.1.0.2
|
||||
- dotenv ==0.8.0.4
|
||||
- dotenv ==0.8.0.6
|
||||
- dotgen ==0.4.3
|
||||
- dotnet-timespan ==0.0.1.0
|
||||
- double-conversion ==2.0.2.0
|
||||
|
@ -760,7 +760,7 @@ default-package-overrides:
|
|||
- extended-reals ==0.2.4.0
|
||||
- extensible-effects ==5.0.0.1
|
||||
- extensible-exceptions ==0.1.1.4
|
||||
- extra ==1.7.4
|
||||
- extra ==1.7.5
|
||||
- extractable-singleton ==0.0.1
|
||||
- extrapolate ==0.4.2
|
||||
- fail ==4.9.0.0
|
||||
|
@ -979,7 +979,7 @@ default-package-overrides:
|
|||
- hall-symbols ==0.1.0.6
|
||||
- hamtsolo ==1.0.3
|
||||
- HandsomeSoup ==0.4.2
|
||||
- hapistrano ==0.4.1.0
|
||||
- hapistrano ==0.4.1.2
|
||||
- happstack-server ==7.6.1
|
||||
- happy ==1.19.12
|
||||
- HasBigDecimal ==0.1.1
|
||||
|
@ -1007,7 +1007,7 @@ default-package-overrides:
|
|||
- haskoin-core ==0.13.4
|
||||
- haskoin-node ==0.13.0
|
||||
- hasql ==1.4.3
|
||||
- hasql-optparse-applicative ==0.3.0.5
|
||||
- hasql-optparse-applicative ==0.3.0.6
|
||||
- hasql-pool ==0.5.2
|
||||
- hasql-transaction ==1.0.0.1
|
||||
- hasty-hamiltonian ==1.3.3
|
||||
|
@ -1088,18 +1088,18 @@ default-package-overrides:
|
|||
- HSlippyMap ==3.0.1
|
||||
- hslogger ==1.3.1.0
|
||||
- hslua ==1.0.3.2
|
||||
- hslua-aeson ==1.0.2
|
||||
- hslua-aeson ==1.0.3
|
||||
- hslua-module-doclayout ==0.1.0
|
||||
- hslua-module-system ==0.2.1
|
||||
- hslua-module-system ==0.2.2
|
||||
- hslua-module-text ==0.2.1
|
||||
- HsOpenSSL ==0.11.4.18
|
||||
- hsp ==0.10.0
|
||||
- hspec ==2.7.1
|
||||
- hspec ==2.7.2
|
||||
- hspec-attoparsec ==0.1.0.2
|
||||
- hspec-checkers ==0.1.0.2
|
||||
- hspec-contrib ==0.5.1
|
||||
- hspec-core ==2.7.1
|
||||
- hspec-discover ==2.7.1
|
||||
- hspec-core ==2.7.2
|
||||
- hspec-discover ==2.7.2
|
||||
- hspec-expectations ==0.8.2
|
||||
- hspec-expectations-lifted ==0.10.0
|
||||
- hspec-expectations-pretty-diff ==0.7.2.5
|
||||
|
@ -1258,7 +1258,7 @@ default-package-overrides:
|
|||
- ix-shapable ==0.1.0
|
||||
- jack ==0.7.1.4
|
||||
- jira-wiki-markup ==1.1.4
|
||||
- jose ==0.8.3
|
||||
- jose ==0.8.3.1
|
||||
- jose-jwt ==0.8.0
|
||||
- js-dgtable ==0.5.2
|
||||
- js-flot ==0.8.3
|
||||
|
@ -1289,7 +1289,7 @@ default-package-overrides:
|
|||
- kmeans ==0.1.3
|
||||
- koofr-client ==1.0.0.3
|
||||
- krank ==0.2.2
|
||||
- kubernetes-webhook-haskell ==0.2.0.2
|
||||
- kubernetes-webhook-haskell ==0.2.0.3
|
||||
- l10n ==0.1.0.1
|
||||
- labels ==0.3.3
|
||||
- lackey ==1.0.13
|
||||
|
@ -1394,7 +1394,7 @@ default-package-overrides:
|
|||
- massiv-test ==0.1.3.1
|
||||
- mathexpr ==0.3.0.0
|
||||
- math-extras ==0.1.1.0
|
||||
- math-functions ==0.3.4.0
|
||||
- math-functions ==0.3.4.1
|
||||
- matplotlib ==0.7.5
|
||||
- matrices ==0.5.0
|
||||
- matrix ==0.3.6.1
|
||||
|
@ -1466,7 +1466,7 @@ default-package-overrides:
|
|||
- monad-extras ==0.6.0
|
||||
- monadic-arrays ==0.2.2
|
||||
- monad-journal ==0.8.1
|
||||
- monad-logger ==0.3.34
|
||||
- monad-logger ==0.3.35
|
||||
- monad-logger-json ==0.1.0.0
|
||||
- monad-logger-prefix ==0.1.11
|
||||
- monad-loops ==0.4.3
|
||||
|
@ -1589,7 +1589,7 @@ default-package-overrides:
|
|||
- OneTuple ==0.2.2.1
|
||||
- Only ==0.1
|
||||
- oo-prototypes ==0.1.0.0
|
||||
- opaleye ==0.6.7005.0
|
||||
- opaleye ==0.6.7006.1
|
||||
- OpenAL ==1.7.0.5
|
||||
- open-browser ==0.2.1.0
|
||||
- openexr-write ==0.1.0.2
|
||||
|
@ -1786,7 +1786,7 @@ default-package-overrides:
|
|||
- qchas ==1.1.0.1
|
||||
- qm-interpolated-string ==0.3.0.0
|
||||
- qrcode-core ==0.9.4
|
||||
- qrcode-juicypixels ==0.8.1
|
||||
- qrcode-juicypixels ==0.8.2
|
||||
- quadratic-irrational ==0.1.1
|
||||
- QuasiText ==0.1.2.6
|
||||
- QuickCheck ==2.13.2
|
||||
|
@ -1835,7 +1835,7 @@ default-package-overrides:
|
|||
- reanimate ==0.3.3.0
|
||||
- reanimate-svg ==0.9.8.0
|
||||
- rebase ==1.6.1
|
||||
- record-dot-preprocessor ==0.2.5
|
||||
- record-dot-preprocessor ==0.2.6
|
||||
- record-hasfield ==1.0
|
||||
- records-sop ==0.1.0.3
|
||||
- recursion-schemes ==5.1.3
|
||||
|
@ -2170,7 +2170,7 @@ default-package-overrides:
|
|||
- tasty-hunit ==0.10.0.2
|
||||
- tasty-kat ==0.0.3
|
||||
- tasty-leancheck ==0.0.1
|
||||
- tasty-lua ==0.2.2
|
||||
- tasty-lua ==0.2.3
|
||||
- tasty-program ==1.0.5
|
||||
- tasty-quickcheck ==0.10.1.1
|
||||
- tasty-rerun ==1.1.17
|
||||
|
@ -2294,7 +2294,7 @@ default-package-overrides:
|
|||
- tuples-homogenous-h98 ==0.1.1.0
|
||||
- tuple-sop ==0.3.1.0
|
||||
- tuple-th ==0.2.5
|
||||
- turtle ==1.5.19
|
||||
- turtle ==1.5.20
|
||||
- TypeCompose ==0.9.14
|
||||
- typed-process ==0.2.6.0
|
||||
- typed-uuid ==0.0.0.2
|
||||
|
@ -2408,7 +2408,7 @@ default-package-overrides:
|
|||
- void ==0.7.3
|
||||
- vty ==5.28.2
|
||||
- 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-cors ==0.2.7
|
||||
- wai-enforce-https ==0.0.2.1
|
||||
|
@ -2540,6 +2540,7 @@ default-package-overrides:
|
|||
|
||||
extra-packages:
|
||||
- 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
|
||||
- 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
|
||||
|
@ -2580,6 +2581,7 @@ extra-packages:
|
|||
- hoogle == 5.0.14 # required by hie-hoogle
|
||||
- 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
|
||||
- hslua == 1.1.2 # required for pandoc 2.10
|
||||
- inline-c < 0.6 # 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
|
||||
|
@ -2759,6 +2761,7 @@ dont-distribute-packages:
|
|||
- boolector
|
||||
- ccelerate-cuda
|
||||
- cplex-hs
|
||||
- cuda # 2020-08-18 because of dependency nvidia-x11
|
||||
- cublas
|
||||
- cufft
|
||||
- cusolver
|
||||
|
@ -3744,6 +3747,7 @@ broken-packages:
|
|||
- cgen
|
||||
- cgi-utils
|
||||
- cgrep
|
||||
- chainweb-mining-client
|
||||
- chalkboard
|
||||
- chalkboard-viewer
|
||||
- charade
|
||||
|
@ -5074,7 +5078,6 @@ broken-packages:
|
|||
- foscam-filename
|
||||
- foscam-sort
|
||||
- Foster
|
||||
- fourmolu
|
||||
- fpco-api
|
||||
- fplll
|
||||
- fpnla-examples
|
||||
|
@ -5904,6 +5907,7 @@ broken-packages:
|
|||
- hasql-queue
|
||||
- hasql-simple
|
||||
- hasql-th
|
||||
- hasqly-mysql
|
||||
- hastache
|
||||
- hastache-aeson
|
||||
- haste
|
||||
|
@ -5956,7 +5960,6 @@ broken-packages:
|
|||
- hcltest
|
||||
- hcoap
|
||||
- hcom
|
||||
- hcoord
|
||||
- hcron
|
||||
- hCsound
|
||||
- hcube
|
||||
|
@ -6229,7 +6232,6 @@ broken-packages:
|
|||
- hobbes
|
||||
- hobbits
|
||||
- hocilib
|
||||
- hocker
|
||||
- hodatime
|
||||
- HODE
|
||||
- hoe
|
||||
|
@ -6702,20 +6704,8 @@ broken-packages:
|
|||
- ignore
|
||||
- igraph
|
||||
- igrf
|
||||
- ihaskell
|
||||
- ihaskell-aeson
|
||||
- ihaskell-basic
|
||||
- ihaskell-blaze
|
||||
- ihaskell-charts
|
||||
- ihaskell-diagrams
|
||||
- ihaskell-display
|
||||
- ihaskell-gnuplot
|
||||
- ihaskell-graphviz
|
||||
- ihaskell-hatex
|
||||
- ihaskell-hvega
|
||||
- ihaskell-inline-r
|
||||
- ihaskell-juicypixels
|
||||
- ihaskell-magic
|
||||
- ihaskell-parsec
|
||||
- ihaskell-plot
|
||||
- ihaskell-rlangqq
|
||||
|
@ -6778,7 +6768,6 @@ broken-packages:
|
|||
- inject-function
|
||||
- inline-asm
|
||||
- inline-java
|
||||
- inline-r
|
||||
- inserts
|
||||
- inspector-wrecker
|
||||
- instana-haskell-trace-sdk
|
||||
|
@ -9165,7 +9154,6 @@ broken-packages:
|
|||
- rethinkdb-client-driver
|
||||
- rethinkdb-model
|
||||
- rethinkdb-wereHamster
|
||||
- retrie
|
||||
- retryer
|
||||
- reverse-geocoding
|
||||
- reversi
|
||||
|
@ -9724,7 +9712,6 @@ broken-packages:
|
|||
- snap-loader-static
|
||||
- snap-routes
|
||||
- snap-stream
|
||||
- snap-templates
|
||||
- snap-testing
|
||||
- snap-utils
|
||||
- snap-web-routes
|
||||
|
@ -10091,6 +10078,7 @@ broken-packages:
|
|||
- sym
|
||||
- sym-plot
|
||||
- symantic
|
||||
- symantic-atom
|
||||
- symantic-http-test
|
||||
- symantic-lib
|
||||
- symantic-xml
|
||||
|
@ -10170,7 +10158,6 @@ broken-packages:
|
|||
- tart
|
||||
- task
|
||||
- task-distribution
|
||||
- taskell
|
||||
- TaskMonad
|
||||
- tasty-auto
|
||||
- tasty-bdd
|
||||
|
|
|
@ -655,16 +655,16 @@ self: super: builtins.intersectAttrs super {
|
|||
|
||||
# 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.
|
||||
docsSearchVersion = "v0.0.8";
|
||||
docsSearchVersion = "v0.0.10";
|
||||
|
||||
docsSearchAppJsFile = pkgs.fetchurl {
|
||||
url = "https://github.com/spacchetti/purescript-docs-search/releases/download/${docsSearchVersion}/docs-search-app.js";
|
||||
sha256 = "00pzi7pgjicpa0mg0al80gh2q1q2lqiyb3kjarpydlmn8dfjny7v";
|
||||
sha256 = "0m5ah29x290r0zk19hx2wix2djy7bs4plh9kvjz6bs9r45x25pa5";
|
||||
};
|
||||
|
||||
purescriptDocsSearchFile = pkgs.fetchurl {
|
||||
url = "https://github.com/spacchetti/purescript-docs-search/releases/download/${docsSearchVersion}/purescript-docs-search";
|
||||
sha256 = "1hsi1hc4p1z2xbw82w2jxmmczw6mravli1r89vrkivb72sqdjya7";
|
||||
sha256 = "0wc1zyhli4m2yykc6i0crm048gyizxh7b81n8xc4yb7ibjqwhyj3";
|
||||
};
|
||||
|
||||
spagoFixHpack = overrideCabal spagoWithOverrides (drv: {
|
||||
|
@ -767,4 +767,8 @@ self: super: builtins.intersectAttrs super {
|
|||
postgresql-libpq-notify = dontCheck super.postgresql-libpq-notify;
|
||||
postgresql-pure = dontCheck super.postgresql-pure;
|
||||
|
||||
retrie = overrideCabal super.retrie (drv: {
|
||||
testToolDepends = [ pkgs.git pkgs.mercurial ];
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ in
|
|||
, configureFlags ? []
|
||||
, buildFlags ? []
|
||||
, haddockFlags ? []
|
||||
, description ? ""
|
||||
, description ? null
|
||||
, doCheck ? !isCross && stdenv.lib.versionOlder "7.4" ghc.version
|
||||
, doBenchmark ? false
|
||||
, doHoogle ? true
|
||||
|
@ -50,7 +50,7 @@ in
|
|||
, jailbreak ? false
|
||||
, license
|
||||
, enableParallelBuilding ? true
|
||||
, maintainers ? []
|
||||
, maintainers ? null
|
||||
, doCoverage ? false
|
||||
, doHaddock ? !(ghc.isHaLVM or false)
|
||||
, passthru ? {}
|
||||
|
@ -59,14 +59,14 @@ in
|
|||
, benchmarkDepends ? [], benchmarkHaskellDepends ? [], benchmarkSystemDepends ? [], benchmarkFrameworkDepends ? []
|
||||
, testTarget ? ""
|
||||
, broken ? false
|
||||
, preCompileBuildDriver ? "", postCompileBuildDriver ? ""
|
||||
, preUnpack ? "", postUnpack ? ""
|
||||
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? ""
|
||||
, preConfigure ? "", postConfigure ? ""
|
||||
, preBuild ? "", postBuild ? ""
|
||||
, installPhase ? "", preInstall ? "", postInstall ? ""
|
||||
, checkPhase ? "", preCheck ? "", postCheck ? ""
|
||||
, preFixup ? "", postFixup ? ""
|
||||
, preCompileBuildDriver ? null, postCompileBuildDriver ? null
|
||||
, preUnpack ? null, postUnpack ? null
|
||||
, patches ? null, patchPhase ? null, prePatch ? "", postPatch ? ""
|
||||
, preConfigure ? null, postConfigure ? null
|
||||
, preBuild ? null, postBuild ? null
|
||||
, installPhase ? null, preInstall ? null, postInstall ? null
|
||||
, checkPhase ? null, preCheck ? null, postCheck ? null
|
||||
, preFixup ? null, postFixup ? null
|
||||
, shellHook ? ""
|
||||
, coreSetup ? false # Use only core packages to build Setup.hs.
|
||||
, useCpphs ? false
|
||||
|
@ -636,34 +636,34 @@ stdenv.mkDerivation ({
|
|||
};
|
||||
|
||||
meta = { inherit homepage license platforms; }
|
||||
// optionalAttrs broken { inherit broken; }
|
||||
// optionalAttrs (description != "") { inherit description; }
|
||||
// optionalAttrs (maintainers != []) { inherit maintainers; }
|
||||
// optionalAttrs (hydraPlatforms != null) { inherit hydraPlatforms; }
|
||||
// optionalAttrs (args ? broken) { inherit broken; }
|
||||
// optionalAttrs (args ? description) { inherit description; }
|
||||
// optionalAttrs (args ? maintainers) { inherit maintainers; }
|
||||
// optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
|
||||
;
|
||||
|
||||
}
|
||||
// optionalAttrs (preCompileBuildDriver != "") { inherit preCompileBuildDriver; }
|
||||
// optionalAttrs (postCompileBuildDriver != "") { inherit postCompileBuildDriver; }
|
||||
// optionalAttrs (preUnpack != "") { inherit preUnpack; }
|
||||
// optionalAttrs (postUnpack != "") { inherit postUnpack; }
|
||||
// optionalAttrs (patches != []) { inherit patches; }
|
||||
// optionalAttrs (patchPhase != "") { inherit patchPhase; }
|
||||
// optionalAttrs (preConfigure != "") { inherit preConfigure; }
|
||||
// optionalAttrs (postConfigure != "") { inherit postConfigure; }
|
||||
// optionalAttrs (preBuild != "") { inherit preBuild; }
|
||||
// optionalAttrs (postBuild != "") { inherit postBuild; }
|
||||
// optionalAttrs (doBenchmark) { inherit doBenchmark; }
|
||||
// optionalAttrs (checkPhase != "") { inherit checkPhase; }
|
||||
// optionalAttrs (preCheck != "") { inherit preCheck; }
|
||||
// optionalAttrs (postCheck != "") { inherit postCheck; }
|
||||
// optionalAttrs (preInstall != "") { inherit preInstall; }
|
||||
// optionalAttrs (installPhase != "") { inherit installPhase; }
|
||||
// optionalAttrs (postInstall != "") { inherit postInstall; }
|
||||
// optionalAttrs (preFixup != "") { inherit preFixup; }
|
||||
// optionalAttrs (postFixup != "") { inherit postFixup; }
|
||||
// optionalAttrs (dontStrip) { inherit dontStrip; }
|
||||
// optionalAttrs (hardeningDisable != []) { inherit hardeningDisable; }
|
||||
// optionalAttrs (args ? preCompileBuildDriver) { inherit preCompileBuildDriver; }
|
||||
// optionalAttrs (args ? postCompileBuildDriver) { inherit postCompileBuildDriver; }
|
||||
// optionalAttrs (args ? preUnpack) { inherit preUnpack; }
|
||||
// optionalAttrs (args ? postUnpack) { inherit postUnpack; }
|
||||
// optionalAttrs (args ? patches) { inherit patches; }
|
||||
// optionalAttrs (args ? patchPhase) { inherit patchPhase; }
|
||||
// optionalAttrs (args ? preConfigure) { inherit preConfigure; }
|
||||
// optionalAttrs (args ? postConfigure) { inherit postConfigure; }
|
||||
// optionalAttrs (args ? preBuild) { inherit preBuild; }
|
||||
// optionalAttrs (args ? postBuild) { inherit postBuild; }
|
||||
// optionalAttrs (args ? doBenchmark) { inherit doBenchmark; }
|
||||
// optionalAttrs (args ? checkPhase) { inherit checkPhase; }
|
||||
// optionalAttrs (args ? preCheck) { inherit preCheck; }
|
||||
// optionalAttrs (args ? postCheck) { inherit postCheck; }
|
||||
// optionalAttrs (args ? preInstall) { inherit preInstall; }
|
||||
// optionalAttrs (args ? installPhase) { inherit installPhase; }
|
||||
// optionalAttrs (args ? postInstall) { inherit postInstall; }
|
||||
// optionalAttrs (args ? preFixup) { inherit preFixup; }
|
||||
// optionalAttrs (args ? postFixup) { inherit postFixup; }
|
||||
// optionalAttrs (args ? dontStrip) { inherit dontStrip; }
|
||||
// optionalAttrs (args ? hardeningDisable) { inherit hardeningDisable; }
|
||||
// optionalAttrs (stdenv.buildPlatform.libc == "glibc"){ LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
|
||||
)
|
||||
)
|
||||
|
|
1788
pkgs/development/haskell-modules/hackage-packages.nix
generated
1788
pkgs/development/haskell-modules/hackage-packages.nix
generated
File diff suppressed because it is too large
Load diff
|
@ -105,8 +105,9 @@ symlinkJoin {
|
|||
--set "NIX_${ghcCommandCaps}_LIBDIR" "${libDir}"
|
||||
fi
|
||||
|
||||
# ghcide and haskell-language-server do package discovery without calling our ghc wrapper.
|
||||
for prg in ghcide haskell-language-server; do
|
||||
# ghcide 0.2.0 does package discovery without calling our ghc wrapper.
|
||||
# 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
|
||||
wrapProgram $out/bin/$prg \
|
||||
--set "NIX_${ghcCommandCaps}" "$out/bin/${ghcCommand}" \
|
||||
|
|
|
@ -1,30 +1,31 @@
|
|||
{ mkDerivation, aeson, base, binary, blaze-markup, brittany
|
||||
, bytestring, containers, data-default, deepseq, Diff, directory
|
||||
, extra, fetchgit, filepath, floskell, ghc, ghc-paths, ghcide
|
||||
, gitrev, hashable, haskell-lsp, haskell-lsp-types, hie-bios
|
||||
, hslogger, hspec, hspec-core, hspec-expectations, lens, lsp-test
|
||||
, optparse-applicative, optparse-simple, ormolu, process
|
||||
, regex-tdfa, safe-exceptions, shake, stdenv, stm, stylish-haskell
|
||||
, tasty, tasty-ant-xml, tasty-expected-failure, tasty-golden
|
||||
, tasty-hunit, tasty-rerun, temporary, text, time, transformers
|
||||
, unix, unordered-containers, yaml
|
||||
, extra, fetchgit, filepath, floskell, fourmolu, ghc, ghc-boot-th
|
||||
, ghc-paths, ghcide, gitrev, hashable, haskell-lsp
|
||||
, haskell-lsp-types, hie-bios, hslogger, hspec, hspec-core, lens
|
||||
, lsp-test, optparse-applicative, optparse-simple, ormolu, process
|
||||
, regex-tdfa, retrie, safe-exceptions, shake, stdenv, stm
|
||||
, stylish-haskell, tasty, tasty-ant-xml, tasty-expected-failure
|
||||
, tasty-golden, tasty-hunit, tasty-rerun, temporary, text, time
|
||||
, transformers, unix, unordered-containers, yaml
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "haskell-language-server";
|
||||
version = "0.2.2.0";
|
||||
version = "0.3.0.0";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/haskell/haskell-language-server.git";
|
||||
sha256 = "0g9g2gyb0fidx16l741ky12djxh4cid9akvxa48105iq1gdihd8l";
|
||||
rev = "12c0e4423263140e3d16e76681927ec69fe4929f";
|
||||
sha256 = "0gh3sgy6a08d8d3q6r2qn5r817ilzka2qkp0g0y6wsx7rjwag0yx";
|
||||
rev = "23dda97f583e8ff39993b89c01bbd1ac24187605";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson base binary brittany bytestring containers data-default
|
||||
deepseq Diff directory extra filepath floskell ghc ghcide gitrev
|
||||
hashable haskell-lsp hie-bios hslogger lens optparse-simple ormolu
|
||||
process regex-tdfa shake stylish-haskell temporary text time
|
||||
deepseq Diff directory extra filepath floskell fourmolu ghc
|
||||
ghc-boot-th ghcide gitrev hashable haskell-lsp hie-bios hslogger
|
||||
lens optparse-simple ormolu process regex-tdfa retrie
|
||||
safe-exceptions shake stylish-haskell temporary text time
|
||||
transformers unix unordered-containers
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
|
@ -36,9 +37,9 @@ mkDerivation {
|
|||
testHaskellDepends = [
|
||||
aeson base blaze-markup bytestring containers data-default
|
||||
directory filepath haskell-lsp haskell-lsp-types hie-bios hslogger
|
||||
hspec hspec-core hspec-expectations lens lsp-test process stm tasty
|
||||
tasty-ant-xml tasty-expected-failure tasty-golden tasty-hunit
|
||||
tasty-rerun temporary text transformers unordered-containers yaml
|
||||
hspec hspec-core lens lsp-test process stm tasty tasty-ant-xml
|
||||
tasty-expected-failure tasty-golden tasty-hunit tasty-rerun
|
||||
temporary text transformers unordered-containers yaml
|
||||
];
|
||||
testToolDepends = [ ghcide ];
|
||||
homepage = "https://github.com/haskell/haskell-language-server#readme";
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
, hie-bios, hslogger, lens, lsp-test, mtl, network-uri
|
||||
, opentelemetry, optparse-applicative, prettyprinter
|
||||
, 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
|
||||
, tasty-expected-failure, tasty-hunit, tasty-quickcheck
|
||||
, tasty-rerun, text, time, transformers, unix, unordered-containers
|
||||
|
@ -17,9 +17,9 @@ mkDerivation {
|
|||
pname = "ghcide";
|
||||
version = "0.2.0";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/bubba/ghcide";
|
||||
sha256 = "1kj2i86mkaxgxlrbmv2d24mch7hywgcy2n61z8paj21chncs1j5w";
|
||||
rev = "7e895cfa53260b41996df707baec496a8f2c75dc";
|
||||
url = "https://github.com/wz1000/ghcide";
|
||||
sha256 = "1zq7ngaak8il91a309rl51dghzasnk4m2sm3av6d93cyqyra1hfc";
|
||||
rev = "078e3d3c0d319f83841ccbcdc60ff5f0e243f6be";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
isLibrary = true;
|
||||
|
@ -30,23 +30,23 @@ mkDerivation {
|
|||
filepath fuzzy ghc ghc-boot ghc-boot-th ghc-check ghc-paths
|
||||
haddock-library hashable haskell-lsp haskell-lsp-types hie-bios
|
||||
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
|
||||
unix unordered-containers utf8-string
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
aeson base bytestring containers data-default directory extra
|
||||
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
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson base bytestring containers directory extra filepath ghc
|
||||
ghc-typelits-knownnat haddock-library haskell-lsp haskell-lsp-types
|
||||
lens lsp-test network-uri optparse-applicative process QuickCheck
|
||||
quickcheck-instances rope-utf16-splay safe-exceptions shake tasty
|
||||
tasty-expected-failure tasty-hunit tasty-quickcheck tasty-rerun
|
||||
text
|
||||
aeson base binary bytestring containers directory extra filepath
|
||||
ghc ghc-typelits-knownnat haddock-library haskell-lsp
|
||||
haskell-lsp-types lens lsp-test network-uri optparse-applicative
|
||||
process QuickCheck quickcheck-instances rope-utf16-splay safe
|
||||
safe-exceptions shake tasty tasty-expected-failure tasty-hunit
|
||||
tasty-quickcheck tasty-rerun text
|
||||
];
|
||||
benchmarkHaskellDepends = [
|
||||
aeson base Chart Chart-diagrams diagrams diagrams-svg directory
|
||||
|
|
|
@ -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 "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"
|
||||
|
||||
|
||||
# ===========================
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
}:
|
||||
mkDerivation {
|
||||
pname = "spago";
|
||||
version = "0.15.3";
|
||||
version = "0.16.0";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/purescript/spago.git";
|
||||
sha256 = "0spc7r531kmh9magaxzy4jls3bzfazwf8sq3qzk6f292d7ky6n8y";
|
||||
rev = "da6d91c19b23f06f3ede793f78599a6589c9e7cd";
|
||||
sha256 = "0z4s0z14n1v9wajs7mj2b295rrrw24gdca79drzlv6x1y6dj7sxh";
|
||||
rev = "71b093cdf5e48ded645303281ab4a3ea5b730f5d";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
isLibrary = true;
|
||||
|
|
|
@ -22985,7 +22985,7 @@ in
|
|||
teamspeak_client = libsForQt512.callPackage ../applications/networking/instant-messengers/teamspeak/client.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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue