From 02d2a9f55f6f4edcf64df617261d417d5d4dc9ea Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Thu, 9 Dec 2021 22:31:38 +0100 Subject: [PATCH 01/21] all-cabal-hashes: 2021-12-08T21:36:39Z -> 2021-12-09T20:50:23Z This commit has been generated by maintainers/scripts/haskell/update-hackage.sh --- pkgs/data/misc/hackage/pin.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/data/misc/hackage/pin.json b/pkgs/data/misc/hackage/pin.json index 9efdd76ce234..b5d5b4f42902 100644 --- a/pkgs/data/misc/hackage/pin.json +++ b/pkgs/data/misc/hackage/pin.json @@ -1,6 +1,6 @@ { - "commit": "5b1efa929ec68b76f8e84df53bf48b6e4a392feb", - "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/5b1efa929ec68b76f8e84df53bf48b6e4a392feb.tar.gz", - "sha256": "1azja4gm6yy8zs0fjfiscjamfn13w4wp9wwadqhzhv0dmisg9y8v", - "msg": "Update from Hackage at 2021-12-08T21:36:39Z" + "commit": "45e72928a9053df2938492a535a1b4351251d82f", + "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/45e72928a9053df2938492a535a1b4351251d82f.tar.gz", + "sha256": "1a87yf9bly5ayldgrkakyipxfkk7h9ifqb4dpd8l1f9zb1csdg1x", + "msg": "Update from Hackage at 2021-12-09T20:50:23Z" } From fb3194f453680d7ea1f36c317cb79ece4eea0e56 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Thu, 9 Dec 2021 22:33:07 +0100 Subject: [PATCH 02/21] haskellPackages: regenerate package set based on current config This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh --- .../haskell-modules/hackage-packages.nix | 176 +++++++++++++----- 1 file changed, 134 insertions(+), 42 deletions(-) diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 57c5cc277f42..22ad9406510e 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -25584,8 +25584,8 @@ self: { }: mkDerivation { pname = "aeson-value-parser"; - version = "0.19.4.1"; - sha256 = "0bg4jwb6d6gyvhfzvrlj7snaga077pmfxnanirzqiqjf14g6hcif"; + version = "0.19.5"; + sha256 = "0jigygl5vmprs8ngjiz2sz9xyqn7x6nqdljgazy0x1hhs33mdskp"; libraryHaskellDepends = [ aeson attoparsec base bytestring hashable megaparsec mtl scientific text transformers unordered-containers vector @@ -35002,8 +35002,8 @@ self: { }: mkDerivation { pname = "atlassian-connect-core"; - version = "0.8.2.0"; - sha256 = "06wrbz8r4yc6spjrawqrdsc1nf3bc5nr40ssnrmyv00xzkhvjq2j"; + version = "0.10.0.1"; + sha256 = "1cx3lzfblh5sq5q174bgjpcg42c2359870bbzws6br9sflwmcy23"; enableSeparateDataOutput = true; libraryHaskellDepends = [ aeson atlassian-connect-descriptor base base64-bytestring @@ -35573,7 +35573,7 @@ self: { license = lib.licenses.bsd3; }) {}; - "attoparsec_0_14_2" = callPackage + "attoparsec_0_14_3" = callPackage ({ mkDerivation, array, base, bytestring, case-insensitive , containers, criterion, deepseq, directory, filepath, ghc-prim , http-types, parsec, QuickCheck, quickcheck-unicode, scientific @@ -35582,10 +35582,8 @@ self: { }: mkDerivation { pname = "attoparsec"; - version = "0.14.2"; - sha256 = "157lc8s6a8jw4s8w1a1rylxlggsa6lyq239na8ix3czmi79g3jwz"; - revision = "2"; - editedCabalFile = "10p0bic82q0yhhyaanj1rdwmms1wql11dnni5mhpk45dv3f5icvj"; + version = "0.14.3"; + sha256 = "1j7sy24d7kf9qb99cr36zchb4gsj3gcy4yflawxqnng31lqdxjal"; libraryHaskellDepends = [ array base bytestring containers deepseq ghc-prim scientific text transformers @@ -35817,8 +35815,8 @@ self: { ({ mkDerivation, attoparsec, base, bytestring, text, time }: mkDerivation { pname = "attoparsec-time"; - version = "1.0.1.2"; - sha256 = "1pc4dy4d6q11cfmgrg41h2nm34vgnnarah85gnwbd6x48cissrpp"; + version = "1.0.2"; + sha256 = "074hbgwv5f0fnrrnak07wd572b3kjwqn4x4w8wsh7a515ndmhick"; libraryHaskellDepends = [ attoparsec base bytestring text time ]; description = "Attoparsec parsers of time"; license = lib.licenses.mit; @@ -44086,8 +44084,8 @@ self: { pname = "bitwise"; version = "1.0.0.1"; sha256 = "03xyzdkyb99gvm9g5chl07rqbnm7qrxba7wgmrfmal0rkwm0ibkn"; - revision = "4"; - editedCabalFile = "0fjcz8239fagjb4pc42digg511rjaz9r8j8fcvcb6ncxijg7g694"; + revision = "5"; + editedCabalFile = "0qfg5kwpavyikgyazwz8mwaykw5j6f3b1i5m0khdja4jbb3f1h04"; libraryHaskellDepends = [ array base bytestring ]; testHaskellDepends = [ base QuickCheck ]; benchmarkHaskellDepends = [ array base bytestring criterion ]; @@ -67412,6 +67410,44 @@ self: { license = lib.licenses.bsd3; }) {}; + "criterion_1_5_12_0" = callPackage + ({ mkDerivation, aeson, ansi-wl-pprint, base, base-compat + , base-compat-batteries, binary, binary-orphans, bytestring + , cassava, code-page, containers, criterion-measurement, deepseq + , directory, exceptions, filepath, Glob, HUnit, js-chart + , microstache, mtl, mwc-random, optparse-applicative, parsec + , QuickCheck, statistics, tasty, tasty-hunit, tasty-quickcheck + , text, time, transformers, transformers-compat, vector + , vector-algorithms + }: + mkDerivation { + pname = "criterion"; + version = "1.5.12.0"; + sha256 = "0wrb48byp906f9wc9ii2mi2b2k008ycbi8ffrrj86plhp5rpvzz5"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + aeson ansi-wl-pprint base base-compat-batteries binary + binary-orphans bytestring cassava code-page containers + criterion-measurement deepseq directory exceptions filepath Glob + js-chart microstache mtl mwc-random optparse-applicative parsec + statistics text time transformers transformers-compat vector + vector-algorithms + ]; + executableHaskellDepends = [ + base base-compat-batteries optparse-applicative + ]; + testHaskellDepends = [ + aeson base base-compat base-compat-batteries bytestring deepseq + directory HUnit QuickCheck statistics tasty tasty-hunit + tasty-quickcheck vector + ]; + description = "Robust, reliable performance measurement and analysis"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "criterion-cmp" = callPackage ({ mkDerivation, ansi-terminal, base, boxes, bytestring, cassava , containers, filepath, optparse-applicative, vector @@ -94189,14 +94225,14 @@ self: { license = lib.licenses.bsd3; }) {}; - "filepath-bytestring_1_4_2_1_9" = callPackage + "filepath-bytestring_1_4_2_1_10" = callPackage ({ mkDerivation, base, bytestring, criterion, filepath, QuickCheck , unix }: mkDerivation { pname = "filepath-bytestring"; - version = "1.4.2.1.9"; - sha256 = "1djbx4mxkzmbi6l44r4ag482r71hwd5s22fj2myz6c128lfrvlk7"; + version = "1.4.2.1.10"; + sha256 = "0nwfyld4ajikiinppkc0a92bbjnr1bcnpb6llg6k7av61xrv72ar"; libraryHaskellDepends = [ base bytestring unix ]; testHaskellDepends = [ base bytestring filepath QuickCheck ]; benchmarkHaskellDepends = [ base criterion filepath ]; @@ -97850,12 +97886,13 @@ self: { "fortran-src" = callPackage ({ mkDerivation, alex, array, base, binary, bytestring, containers , deepseq, directory, fgl, filepath, GenericPretty, happy, hspec - , hspec-discover, mtl, pretty, temporary, text, uniplate + , hspec-discover, mtl, pretty, QuickCheck, temporary, text + , uniplate }: mkDerivation { pname = "fortran-src"; - version = "0.6.1"; - sha256 = "1d07ih8bcij71x4b5nwd4fk12cmmigpzcf98fixgayrkcvmnckzg"; + version = "0.7.0"; + sha256 = "1ngh156qyaha44ghisb3h8c2lxik0i6g0a46nq2fhif70r5piqw6"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -97869,10 +97906,11 @@ self: { ]; testHaskellDepends = [ array base binary bytestring containers deepseq directory fgl - filepath GenericPretty hspec mtl pretty temporary text uniplate + filepath GenericPretty hspec mtl pretty QuickCheck temporary text + uniplate ]; testToolDepends = [ hspec-discover ]; - description = "Parsers and analyses for Fortran standards 66, 77, 90 and 95"; + description = "Parsers and analyses for Fortran standards 66, 77, 90, 95 and 2003 (partial)"; license = lib.licenses.asl20; hydraPlatforms = lib.platforms.none; broken = true; @@ -106462,6 +106500,19 @@ self: { license = lib.licenses.bsd3; }) {}; + "ghc-trace-events_0_1_2_4" = callPackage + ({ mkDerivation, base, bytestring, tasty-bench, text }: + mkDerivation { + pname = "ghc-trace-events"; + version = "0.1.2.4"; + sha256 = "1wwpq89bvgzfzrzvidyqk2953hcc9p9xz0vrb62vhgs6k885b90n"; + libraryHaskellDepends = [ base bytestring text ]; + benchmarkHaskellDepends = [ base bytestring tasty-bench ]; + description = "Faster traceEvent and traceMarker, and binary object logging for eventlog"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "ghc-typelits-extra" = callPackage ({ mkDerivation, base, containers, ghc, ghc-prim , ghc-tcplugins-extra, ghc-typelits-knownnat @@ -122700,8 +122751,8 @@ self: { }: mkDerivation { pname = "has-transformers"; - version = "0.1.0.2"; - sha256 = "0zgiw37x1f6p9awy6ikbqld1lb9mi4i1b0qvi2l5kwr2f4n7d5w9"; + version = "0.1.0.3"; + sha256 = "0mrz11hxm7nyxyirfz8f63w1mxf3snprrxvh2vvhmmi8p3wlay6n"; libraryHaskellDepends = [ base transformers ]; testHaskellDepends = [ base hspec operational ]; testToolDepends = [ hspec-discover ]; @@ -144147,14 +144198,14 @@ self: { license = lib.licenses.mit; }) {}; - "hspec_2_9_3" = callPackage + "hspec_2_9_4" = callPackage ({ mkDerivation, base, hspec-core, hspec-discover , hspec-expectations, QuickCheck }: mkDerivation { pname = "hspec"; - version = "2.9.3"; - sha256 = "0mb3gwalfrl93mrmqflxb1xwyaw46w598z1kg6s8fasn02mcfh6s"; + version = "2.9.4"; + sha256 = "1s009dn0hkqfn5c0y0xfja18wps430f2dkga9mfrrndhvlvx8fm3"; libraryHaskellDepends = [ base hspec-core hspec-discover hspec-expectations QuickCheck ]; @@ -144245,7 +144296,7 @@ self: { license = lib.licenses.mit; }) {}; - "hspec-core_2_9_3" = callPackage + "hspec-core_2_9_4" = callPackage ({ mkDerivation, ansi-terminal, array, base, base-orphans , call-stack, clock, deepseq, directory, filepath, ghc, ghc-boot-th , hspec-expectations, hspec-meta, HUnit, process, QuickCheck @@ -144254,8 +144305,8 @@ self: { }: mkDerivation { pname = "hspec-core"; - version = "2.9.3"; - sha256 = "1g4wmkfgq1v8ncdqyyxjnl0p8ymqdkrvpnhp0sx03snnz032c4bm"; + version = "2.9.4"; + sha256 = "0bkr2hywmlawyyrp27xgfd4a080bk1i5kj81hcxbg2w8y0i7r0w4"; libraryHaskellDepends = [ ansi-terminal array base call-stack clock deepseq directory filepath ghc ghc-boot-th hspec-expectations HUnit QuickCheck @@ -144312,14 +144363,14 @@ self: { maintainers = with lib.maintainers; [ maralorn ]; }) {}; - "hspec-discover_2_9_3" = callPackage + "hspec-discover_2_9_4" = callPackage ({ mkDerivation, base, directory, filepath, hspec-meta, mockery , QuickCheck }: mkDerivation { pname = "hspec-discover"; - version = "2.9.3"; - sha256 = "0m6jzz5sxwv79w1bzv9ik2mm0gg2a1b3fgvgmpfh60yml586n3hw"; + version = "2.9.4"; + sha256 = "16y3z6f32bbnkxw142y90hs0512rh2mp9904ffahmag9m95qfbnv"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base directory filepath ]; @@ -147213,6 +147264,26 @@ self: { broken = true; }) {}; + "http-directory_0_1_9" = callPackage + ({ mkDerivation, base, bytestring, hspec, html-conduit, http-client + , http-client-tls, http-conduit, http-date, http-types, network-uri + , text, time, xml-conduit + }: + mkDerivation { + pname = "http-directory"; + version = "0.1.9"; + sha256 = "0hvrajwap7ilqi6ika0vd3hf83k1p3wr3ck6bvz8kayim8ih7apz"; + libraryHaskellDepends = [ + base bytestring html-conduit http-client http-client-tls + http-conduit http-date http-types network-uri text time xml-conduit + ]; + testHaskellDepends = [ base hspec text ]; + description = "http directory listing library"; + license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; + broken = true; + }) {}; + "http-dispatch" = callPackage ({ mkDerivation, aeson, base, base64-bytestring, bytestring , case-insensitive, hspec, http-client, http-client-tls, http-types @@ -148840,14 +148911,14 @@ self: { license = lib.licenses.bsd3; }) {}; - "hvega_0_12_0_0" = callPackage + "hvega_0_12_0_1" = callPackage ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers , filepath, tasty, tasty-golden, text, unordered-containers }: mkDerivation { pname = "hvega"; - version = "0.12.0.0"; - sha256 = "1zb79dbnznp1y08a497kgc423c7zmppz0qkfb04bnmffcp1p1ymn"; + version = "0.12.0.1"; + sha256 = "078q38v39n7gcn0br598d9sfdk256jg8m1k5pi6w0asg0yd1bdyh"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ aeson base text unordered-containers ]; @@ -152512,8 +152583,8 @@ self: { ({ mkDerivation, aeson, base, hvega, ihaskell, text }: mkDerivation { pname = "ihaskell-hvega"; - version = "0.4.0.0"; - sha256 = "0sdgrlirnjb1bg6l5a6k3y084q3jddl08h032m0smaalvzcyl21b"; + version = "0.5.0.0"; + sha256 = "0nk38bz8rxj42gqchffdh25cr94fadlid7azzp7i9lxi63gq67wx"; libraryHaskellDepends = [ aeson base hvega ihaskell text ]; description = "IHaskell display instance for hvega types"; license = lib.licenses.bsd3; @@ -155644,8 +155715,8 @@ self: { }: mkDerivation { pname = "interval-algebra"; - version = "1.1.0"; - sha256 = "16xx8fw7xf8rrji9n34r3xchjpd6sh3wnlbz70a3mhbdl3yp55vq"; + version = "1.1.1"; + sha256 = "1nqp0sj89vaq4cyfnpfj94xa4yvs6k2hsihw4gypwbmpmbsflwd7"; libraryHaskellDepends = [ base containers foldl QuickCheck safe time witherable ]; @@ -259398,12 +259469,12 @@ self: { license = lib.licenses.bsd3; }) {}; - "stm_2_5_0_1" = callPackage + "stm_2_5_0_2" = callPackage ({ mkDerivation, array, base }: mkDerivation { pname = "stm"; - version = "2.5.0.1"; - sha256 = "1fipf3bbk34mbld1apwnq6kbjxbrz2nc9cxxmhkk2bdcc2z4y7j5"; + version = "2.5.0.2"; + sha256 = "1x5kj5jn6c3jc5asipiai9zp6fzkqcqrh8j2imclyls1nybccjm0"; libraryHaskellDepends = [ array base ]; description = "Software Transactional Memory"; license = lib.licenses.bsd3; @@ -288894,6 +288965,27 @@ self: { license = lib.licenses.bsd3; }) {}; + "versions_5_0_1" = callPackage + ({ mkDerivation, base, deepseq, hashable, megaparsec, microlens + , parser-combinators, QuickCheck, tasty, tasty-hunit + , tasty-quickcheck, text + }: + mkDerivation { + pname = "versions"; + version = "5.0.1"; + sha256 = "0m7c0iiws3j716a5wksv9dxfcsz6dlvpw147m7ah2b8pfjwqg48c"; + libraryHaskellDepends = [ + base deepseq hashable megaparsec parser-combinators text + ]; + testHaskellDepends = [ + base megaparsec microlens QuickCheck tasty tasty-hunit + tasty-quickcheck text + ]; + description = "Types and parsers for software version numbers"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "vessel" = callPackage ({ mkDerivation, aeson, aeson-gadt-th, base, bifunctors , constraints, constraints-extras, containers, dependent-map From cbfd6dfbdd1aab8e3cc662ff0a66cee23b69fb17 Mon Sep 17 00:00:00 2001 From: Patryk Kocielnik Date: Sat, 11 Dec 2021 13:47:44 +0100 Subject: [PATCH 03/21] haskellPackages.Monadoro: remove from broken pkgs Package tests are fixed in the recent version (0.2.6.0). --- .../haskell-modules/configuration-hackage2nix/broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index fc9a0d3e3f42..f34c92012e5f 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -3177,7 +3177,6 @@ broken-packages: - monad-mersenne-random - monad-mock - monad-open - - Monadoro - monad-parallel-progressbar - monad-param - monad-persist diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 57c5cc277f42..fff15ee449df 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -13914,7 +13914,6 @@ self: { description = "A minimalistic CLI Pomodoro timer"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "Monaris" = callPackage From eb05d35817f12096891d1a37450e482fd88cdf75 Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Sun, 12 Dec 2021 17:10:19 +0900 Subject: [PATCH 04/21] haskellPackages: regenerate package set based on current config This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh --- pkgs/development/haskell-modules/hackage-packages.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index ee7e8c0723ac..e5fb26bd20f8 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -13913,7 +13913,6 @@ self: { testHaskellDepends = [ ansi-terminal base doctest hspec time ]; description = "A minimalistic CLI Pomodoro timer"; license = lib.licenses.mit; - hydraPlatforms = lib.platforms.none; }) {}; "Monaris" = callPackage From 30db91b3c418495473d6e25cd01a7ae1eaf4cc19 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 13 Dec 2021 13:13:36 +0100 Subject: [PATCH 05/21] haskellPackages: adjust overrides for attoparsec update latest attoparsec: 0.14.2 -> 0.14.3 --- pkgs/development/haskell-modules/configuration-common.nix | 2 +- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b99e50a934de..e66d40d3bcb8 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1875,7 +1875,7 @@ self: super: { sha256 = "1zhv1cg047lfyxfs3mvc73vv96pn240zaj7f2yl4lw5yj6y5rfk9"; }; } super.haskell-ci).overrideScope (self: super: { - attoparsec = self.attoparsec_0_14_2; + attoparsec = self.attoparsec_0_14_3; Cabal = self.Cabal_3_6_2_0; }); diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index fab62efb46f6..07bd70165dd0 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -83,7 +83,7 @@ self: super: { # Jailbreaks & Version Updates assoc = doJailbreak super.assoc; async = doJailbreak super.async; - attoparsec = super.attoparsec_0_14_2; + attoparsec = super.attoparsec_0_14_3; base64-bytestring = doJailbreak super.base64-bytestring; base-compat = self.base-compat_0_12_1; base-compat-batteries = self.base-compat-batteries_0_12_1; From 248a27fa15a2df5c0391f541a0c4719a6bd5a96d Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 13 Dec 2021 13:14:05 +0100 Subject: [PATCH 06/21] haskellPackages: adjust overrides for hspec update latest hspec{,-core,-discover}: 2.9.3 -> 2.9.4 --- .../haskell-modules/configuration-common.nix | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e66d40d3bcb8..4a90f229a60b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1349,21 +1349,21 @@ self: super: { resource-pool = self.hasura-resource-pool; ekg-core = self.hasura-ekg-core; ekg-json = self.hasura-ekg-json; - hspec = dontCheck self.hspec_2_9_3; - hspec-core = dontCheck self.hspec-core_2_9_3; - hspec-discover = dontCheck super.hspec-discover_2_9_3; + hspec = dontCheck self.hspec_2_9_4; + hspec-core = dontCheck self.hspec-core_2_9_4; + hspec-discover = dontCheck super.hspec-discover_2_9_4; tasty-hspec = self.tasty-hspec_1_2; })); hasura-ekg-core = doJailbreak (super.hasura-ekg-core.overrideScope (self: super: { - hspec = dontCheck self.hspec_2_9_3; - hspec-core = dontCheck self.hspec-core_2_9_3; - hspec-discover = dontCheck super.hspec-discover_2_9_3; + hspec = dontCheck self.hspec_2_9_4; + hspec-core = dontCheck self.hspec-core_2_9_4; + hspec-discover = dontCheck super.hspec-discover_2_9_4; })); hasura-ekg-json = super.hasura-ekg-json.overrideScope (self: super: { ekg-core = self.hasura-ekg-core; - hspec = dontCheck self.hspec_2_9_3; - hspec-core = dontCheck self.hspec-core_2_9_3; - hspec-discover = dontCheck super.hspec-discover_2_9_3; + hspec = dontCheck self.hspec_2_9_4; + hspec-core = dontCheck self.hspec-core_2_9_4; + hspec-discover = dontCheck super.hspec-discover_2_9_4; }); pg-client = overrideCabal (drv: { librarySystemDepends = with pkgs; [ postgresql krb5.dev openssl.dev ]; @@ -2095,9 +2095,9 @@ EOT # Jailbreak isn't sufficient, but this is ok as it's a leaf package. hadolint = super.hadolint.overrideScope (self: super: { language-docker = self.language-docker_10_4_0; - hspec = dontCheck self.hspec_2_9_3; - hspec-core = dontCheck self.hspec-core_2_9_3; - hspec-discover = dontCheck self.hspec-discover_2_9_3; + hspec = dontCheck self.hspec_2_9_4; + hspec-core = dontCheck self.hspec-core_2_9_4; + hspec-discover = dontCheck self.hspec-discover_2_9_4; colourista = doJailbreak super.colourista; }); From 3c80a171553d3005f23dfb90751c84ab4ef0bccc Mon Sep 17 00:00:00 2001 From: Deniz Alp Date: Tue, 14 Dec 2021 02:26:47 +0300 Subject: [PATCH 07/21] haskellPackages.pinch: Fix build by bumping network --- .../haskell-modules/configuration-common.nix | 10 ++++++++++ .../configuration-hackage2nix/broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 2 -- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4a90f229a60b..421969d23baf 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -54,6 +54,16 @@ self: super: { ghc-datasize = disableLibraryProfiling super.ghc-datasize; ghc-vis = disableLibraryProfiling super.ghc-vis; + # `pinch`s test suite uses a function called `openSocket` that's available + # in `network` versions 3.1.2.0 and bigger. + # There's an open PR updating the lower bound for `network`: + # > https://github.com/abhinav/pinch/pull/46 + # With that said version tracked for `network` right now is 3.1.1.1 so we're + # replacing the network pinch uses with `network_3_1_2_5` for now. + pinch = super.pinch.overrideScope (self : super: { + network = self.network_3_1_2_5; + }); + # We can remove this once fakedata version gets to 1.0.1 as the test suite # works fine there. fakedata = dontCheck super.fakedata; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index f34c92012e5f..0da3ef5b1680 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -3727,7 +3727,6 @@ broken-packages: - pi-forall - pig - pi-hoole - - pinch - pinchot - Pipe - pipes-async diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index e5fb26bd20f8..ba4c5943aa95 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -211248,8 +211248,6 @@ self: { testToolDepends = [ hspec-discover ]; description = "An alternative implementation of Thrift for Haskell"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "pinch-gen" = callPackage From 7e9d55f0c4fbbf73f885d55035ed6bad1361f091 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 8 Dec 2021 15:30:38 +0100 Subject: [PATCH 08/21] maintainers/scripts: test for haskell configuration overlays The added nix expression allows maintainers to check for regressions in the configuration overlays employed by haskellPackages and friends. The reasoning behind this is that, if we add an override for something, it should also build. To test this fact, we extract all attributes touched by a configuration and obtain all relevant derivations corresponding to it which can then be thrown into nix-build --keep-going. I've been using this expression to verify configuration-ghc-9.2.x.nix for a week or so which works quite well. The amount of stale overrides in other configuration makes it a bit more painful for other use cases at the moment. --- .../scripts/haskell/test-configurations.nix | 113 ++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 maintainers/scripts/haskell/test-configurations.nix diff --git a/maintainers/scripts/haskell/test-configurations.nix b/maintainers/scripts/haskell/test-configurations.nix new file mode 100644 index 000000000000..c69ea3b1d519 --- /dev/null +++ b/maintainers/scripts/haskell/test-configurations.nix @@ -0,0 +1,113 @@ +/* Nix expression to test for regressions in the Haskell configuration overlays. + + test-configurations.nix determines all attributes touched by given Haskell + configuration overlays (i. e. pkgs/development/haskell-modules/configuration-*.nix) + and builds all derivations (or at least a reasonable subset) affected by + these overrides. + + By default, it checks `configuration-{common,nix,ghc-8.10.x}.nix`. You can + invoke it like this: + + nix-build maintainers/scripts/haskell/test-configurations.nix --keep-going + + It is possible to specify other configurations: + + nix-build maintainers/scripts/haskell/test-configurations.nix \ + --arg files '[ "configuration-ghc-9.0.x.nix" "configuration-ghc-9.2.x.nix" ]' \ + --keep-going + + You can also just supply a single string: + + nix-build maintainers/scripts/haskell/test-configurations.nix \ + --argstr files "configuration-arm.nix" --keep-going + + You can even supply full paths which is handy, as it allows for tab-completing + the configurations: + + nix-build maintainers/scripts/haskell/test-configurations.nix \ + --argstr files pkgs/development/haskell-modules/configuration-arm.nix \ + --keep-going + + By default, derivation that fail to evaluate are skipped, unless they are + “just” marked as broken. You can check for other eval errors like this: + + nix-build maintainers/scripts/haskell/test-configurations.nix \ + --arg skipEvalErrors false --keep-going + + You can also disable checking broken packages by passing a nixpkgs config: + + nix-build maintainers/scripts/haskell/test-configurations.nix \ + --arg config '{ allowBroken = false; }' --keep-going + +*/ +{ files ? [ + "configuration-common.nix" + "configuration-nix.nix" + "configuration-ghc-8.10.x.nix" + ] +, nixpkgsPath ? ../../.. +, config ? { allowBroken = true; } +, skipEvalErrors ? true +}: + +let + pkgs = import nixpkgsPath { inherit config; }; + inherit (pkgs) lib; + + # see usage explanation for the input format `files` allows + files' = builtins.map builtins.baseNameOf ( + if !builtins.isList files then [ files ] else files + ); + + setsForFile = fileName: + let + # extract the unique part of the config's file name + configName = builtins.head ( + builtins.match "configuration-(.+).nix" fileName + ); + # match the major and minor version of the GHC the config is intended for, if any + configVersion = lib.concatStrings ( + builtins.match "ghc-([0-9]+).([0-9]+).x" configName + ); + # return all package sets under haskell.packages matching the version components + setsForVersion = builtins.map (name: pkgs.haskell.packages.${name}) ( + builtins.filter (lib.hasPrefix "ghc${configVersion}") ( + builtins.attrNames pkgs.haskell.packages + ) + ); + + defaultSets = [ pkgs.haskellPackages ]; + in { + # use plain haskellPackages for the version-agnostic files + # TODO(@sternenseemann): also consider currently selected versioned sets + "common" = defaultSets; + "nix" = defaultSets; + "arm" = defaultSets; + "darwin" = defaultSets; + }.${configName} or setsForVersion; + + # evaluate a configuration and only return the attributes changed by it + overriddenAttrs = fileName: builtins.attrNames ( + import (nixpkgsPath + "/pkgs/development/haskell-modules/${fileName}") { + haskellLib = pkgs.haskell.lib.compose; + inherit pkgs; + } {} {} + ); + + # list of derivations that are affected by overrides in the given configuration + # overlays. For common, nix, darwin etc. only the derivation from the default + # package set will be emitted. + packages = builtins.filter (v: + v != null && (skipEvalErrors -> (builtins.tryEval (v.outPath or v)).success) + ) ( + lib.concatMap (fileName: + let + sets = setsForFile fileName; + attrs = overriddenAttrs fileName; + in + lib.concatMap (set: builtins.map (attr: set.${attr}) attrs) sets + ) files' + ); +in + +packages From a2e789192663ded6e27cd243837c865b67fc6d0f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 09:59:53 +0100 Subject: [PATCH 09/21] haskell.packages.ghc901.ChasingBottoms: disable stale broken flag --- pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index 9bbfa35d8676..8a42854be785 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -49,7 +49,6 @@ self: super: { # Jailbreaks & Version Updates async = doJailbreak super.async; - ChasingBottoms = markBrokenVersion "1.3.1.9" super.ChasingBottoms; data-fix = doJailbreak super.data-fix; dec = doJailbreak super.dec; ed25519 = doJailbreak super.ed25519; From 243cd8e8dfb8e6247c18b76e6ebc90fadddaf7c3 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 11:11:03 +0100 Subject: [PATCH 10/21] haskell.packages.ghc921.hoogle: unbreak haskell.packages.ghc921.bsb-http-chunked: disable doctest suite This package's doctest suite is invoked in a weird way apparently which makes it fail to typecheck with GHC 9.2.1. --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 3 +++ pkgs/top-level/release-haskell.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 07bd70165dd0..f37b83ae2459 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -214,4 +214,7 @@ self: super: { ghc-lib-parser = self.ghc-lib-parser_9_2_1_20211101; ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_1; }); + + # https://github.com/sjakobi/bsb-http-chunked/issues/38 + bsb-http-chunked = dontCheck super.bsb-http-chunked; } diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index f6e34e7084b7..c1179072fb47 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -310,7 +310,7 @@ let cabal2nix-unstable = released ++ [ compilerNames.ghc921 ]; funcmp = released ++ [ compilerNames.ghc921 ]; haskell-language-server = released; - hoogle = released; + hoogle = released ++ [ compilerNames.ghc921 ]; hsdns = released ++ [ compilerNames.ghc921 ]; jailbreak-cabal = released ++ [ compilerNames.ghc921 ]; language-nix = released ++ [ compilerNames.ghc921 ]; From 119de5da93a6d2d4c9d8b46fe801fde67ee59cb4 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 10:31:57 +0100 Subject: [PATCH 11/21] haskell.compiler.ghc921.hlint: 3.3.4 -> unstable-2021-12-12 hlint introduced GHC 9.2.1 support on its development branch recently. --- .../haskell-modules/configuration-ghc-9.2.x.nix | 16 +++++++++++++--- pkgs/top-level/release-haskell.nix | 1 + 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index f37b83ae2459..30cc6fb9efe3 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -209,11 +209,21 @@ self: super: { # Tests have a circular dependency on quickcheck-instances text-short = dontCheck super.text-short_0_1_4; - # hlint 3.3 needs a ghc-lib-parser newer than the one from stackage - hlint = super.hlint_3_3_4.overrideScope (self: super: { + # Use hlint from git for GHC 9.2.1 support + hlint = overrideCabal { + version = "unstable-2021-12-12"; + src = pkgs.fetchFromGitHub { + owner = "ndmitchell"; + repo = "hlint"; + rev = "77a9702e10b772a7695c08682cd4f450fd0e9e46"; + sha256 = "0hpp3iw7m7w2abr8vb86gdz3x6c8lj119zxln933k90ia7bmk8jc"; + }; + revision = null; + editedCabalFile = null; + } (super.hlint_3_3_4.overrideScope (self: super: { ghc-lib-parser = self.ghc-lib-parser_9_2_1_20211101; ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_1; - }); + })); # https://github.com/sjakobi/bsb-http-chunked/issues/38 bsb-http-chunked = dontCheck super.bsb-http-chunked; diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index c1179072fb47..72f981b7845a 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -311,6 +311,7 @@ let funcmp = released ++ [ compilerNames.ghc921 ]; haskell-language-server = released; hoogle = released ++ [ compilerNames.ghc921 ]; + hlint = released ++ [ compilerNames.ghc921 ]; hsdns = released ++ [ compilerNames.ghc921 ]; jailbreak-cabal = released ++ [ compilerNames.ghc921 ]; language-nix = released ++ [ compilerNames.ghc921 ]; From 78c71274a3246717b275b5810e45459183229dd9 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 13:58:01 +0100 Subject: [PATCH 12/21] haskellPackages.http3: unmark as broken --- .../haskell-modules/configuration-hackage2nix/broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 2 -- 2 files changed, 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 0da3ef5b1680..3e5226ae882f 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -2435,7 +2435,6 @@ broken-packages: - htssets - http2-client - http2-grpc-proto-lens - - http3 - http-attoparsec - http-client-lens - http-client-request-modifiers diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index ba4c5943aa95..a8a7fd7cee2d 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -148076,8 +148076,6 @@ self: { testToolDepends = [ hspec-discover ]; description = "HTTP/3 library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "httpd-shed" = callPackage From 65de104e6c540e4dfab3c7fb07dbcd95c8731231 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 11:21:57 +0100 Subject: [PATCH 13/21] maintainers/scripts/test-configuration.nix: warn about broken pkgs The warnings help when removing the broken flags when all packages turn out to build and could also be helpful when investigating failures. --- maintainers/scripts/haskell/test-configurations.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maintainers/scripts/haskell/test-configurations.nix b/maintainers/scripts/haskell/test-configurations.nix index c69ea3b1d519..ed5d2fe066f2 100644 --- a/maintainers/scripts/haskell/test-configurations.nix +++ b/maintainers/scripts/haskell/test-configurations.nix @@ -98,7 +98,10 @@ let # overlays. For common, nix, darwin etc. only the derivation from the default # package set will be emitted. packages = builtins.filter (v: - v != null && (skipEvalErrors -> (builtins.tryEval (v.outPath or v)).success) + lib.warnIf (v.meta.broken or false) "${v.pname} is marked as broken" ( + v != null + && (skipEvalErrors -> (builtins.tryEval (v.outPath or v)).success) + ) ) ( lib.concatMap (fileName: let From ca91080b21890aacef4e7b9e9465abcb37920aac Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 11:23:42 +0100 Subject: [PATCH 14/21] maintainers/scripts/test-configurations.nix: skip binary GHCs While being able to test them is neat (on x86_64-linux they work very well, actually), we usually don't want to do this, since the set is only (recommended to be) used to bootstrap GHC. Consequently there is almost no binary cache and testing them mostly leads to unenlightening and seemingly endless compilation. --- .../scripts/haskell/test-configurations.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/maintainers/scripts/haskell/test-configurations.nix b/maintainers/scripts/haskell/test-configurations.nix index ed5d2fe066f2..05f26f861473 100644 --- a/maintainers/scripts/haskell/test-configurations.nix +++ b/maintainers/scripts/haskell/test-configurations.nix @@ -39,6 +39,12 @@ nix-build maintainers/scripts/haskell/test-configurations.nix \ --arg config '{ allowBroken = false; }' --keep-going + By default the haskell.packages.ghc*Binary sets used for bootstrapping GHC + are _not_ tested. You can change this using: + + nix-build maintainers/scripts/haskell/test-configurations.nix \ + --arg skipBinaryGHCs false --keep-going + */ { files ? [ "configuration-common.nix" @@ -48,6 +54,7 @@ , nixpkgsPath ? ../../.. , config ? { allowBroken = true; } , skipEvalErrors ? true +, skipBinaryGHCs ? true }: let @@ -70,8 +77,11 @@ let builtins.match "ghc-([0-9]+).([0-9]+).x" configName ); # return all package sets under haskell.packages matching the version components - setsForVersion = builtins.map (name: pkgs.haskell.packages.${name}) ( - builtins.filter (lib.hasPrefix "ghc${configVersion}") ( + setsForVersion = builtins.map (name: pkgs.haskell.packages.${name}) ( + builtins.filter (setName: + lib.hasPrefix "ghc${configVersion}" setName + && (skipBinaryGHCs -> !(lib.hasInfix "Binary" setName)) + ) ( builtins.attrNames pkgs.haskell.packages ) ); From 90a8618c03970d3ee190c7c8da9b19a0a1b05e44 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Dec 2021 13:13:01 +0100 Subject: [PATCH 15/21] maintainers/scripts/test-configuration.nix: improve overlay call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit configuration-nix.nix uses builtins.intersectAttrs to not any overrides for packages not present in `super` (presumably for use outside of nixpkgs?). To accomodate it, we pass an attribute set with every attribute of haskellPackages, but set to `null` as `super`, and — while we're at it — a fix point as `self`. --- .../scripts/haskell/test-configurations.nix | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/maintainers/scripts/haskell/test-configurations.nix b/maintainers/scripts/haskell/test-configurations.nix index 05f26f861473..12287896b50d 100644 --- a/maintainers/scripts/haskell/test-configurations.nix +++ b/maintainers/scripts/haskell/test-configurations.nix @@ -96,12 +96,22 @@ let "darwin" = defaultSets; }.${configName} or setsForVersion; - # evaluate a configuration and only return the attributes changed by it + # attribute set that has all the attributes of haskellPackages set to null + availableHaskellPackages = builtins.listToAttrs ( + builtins.map (attr: lib.nameValuePair attr null) ( + builtins.attrNames pkgs.haskellPackages + ) + ); + + # evaluate a configuration and only return the attributes changed by it, + # pass availableHaskellPackages as super in case intersectAttrs is used overriddenAttrs = fileName: builtins.attrNames ( - import (nixpkgsPath + "/pkgs/development/haskell-modules/${fileName}") { - haskellLib = pkgs.haskell.lib.compose; - inherit pkgs; - } {} {} + lib.fix (self: + import (nixpkgsPath + "/pkgs/development/haskell-modules/${fileName}") { + haskellLib = pkgs.haskell.lib.compose; + inherit pkgs; + } self availableHaskellPackages + ) ); # list of derivations that are affected by overrides in the given configuration From e2509e4ebfc8df8241d9dc922bfc83c4d5f0c2ae Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 13 Dec 2021 23:27:03 -0500 Subject: [PATCH 16/21] haskellPackages.{github,nix-thunk}: Fix --- .../haskell-modules/configuration-common.nix | 16 ++++++++++------ .../configuration-hackage2nix/broken.yaml | 2 -- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 421969d23baf..e5de0247f720 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1705,12 +1705,16 @@ self: super: { # Issue reported upstream, no bug tracker url yet. darcs = doJailbreak super.darcs; - # Too strict version bounds on base16-bytestring and http-link-header. - # This patch will be merged when next release comes. - github = appendPatch (pkgs.fetchpatch { - url = "https://github.com/phadej/github/commit/514b175851dd7c4a9722ff203dd6f652a15d33e8.patch"; - sha256 = "0pmx54xd7ah85y9mfi5366wbnwrp918j0wbx8yw8hrdac92qi4gh"; - }) super.github; + nix-thunk = appendPatches [ + (pkgs.fetchpatch { + url = "https://github.com/obsidiansystems/nix-thunk/commit/49d27a85dd39cd9413c99958c67e596756a502b5.patch"; + sha256 = "1p1n0123yrbdqyfk4kx3gq6bdv65l1bxgbsg51ckcwclg54xp2p5"; + }) + (pkgs.fetchpatch { + url = "https://github.com/obsidiansystems/nix-thunk/commit/512867c651977265d5d8f456b538f7a364ec8a8b.patch"; + sha256 = "121yg26y4g28k8xv7y1j6c3pxm17vsjn3vi62kkc8g928c47yd02"; + }) + ] super.nix-thunk; # list `modbus` in librarySystemDepends, correct to `libmodbus` libmodbus = overrideCabal (drv: { diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 3e5226ae882f..1f7f15924a37 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -1688,7 +1688,6 @@ broken-packages: - git-cuk - git-date - gitdo - - github - github-backup - github-data - github-tools @@ -3384,7 +3383,6 @@ broken-packages: - nix-freeze-tree - nixfromnpm - nixpkgs-update - - nix-thunk - nix-tools - nkjp - nlp-scores From 1e37d3ee1556637568c908d46bca2bd856558b32 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 15 Dec 2021 13:20:11 -0500 Subject: [PATCH 17/21] haskellPackages: regenerate package set based on current config This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh --- pkgs/development/haskell-modules/hackage-packages.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index a8a7fd7cee2d..9c3109731588 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -110218,8 +110218,6 @@ self: { testToolDepends = [ hspec-discover ]; description = "Access to the GitHub API, v3"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "github-backup" = callPackage @@ -196011,8 +196009,6 @@ self: { ]; description = "Lightweight dependency management with Nix"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "nix-tools" = callPackage From 51419dabf2bf49ac01f7fd676302c99447d4d82c Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Tue, 14 Dec 2021 14:02:24 +0900 Subject: [PATCH 18/21] haskellPackages.hslua: disable tests when building with musl --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e5de0247f720..7e18e85f7bb5 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -977,6 +977,13 @@ self: super: { # dontCheck: use of non-standard strptime "%s" which musl doesn't support; only used in test unix-time = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.unix-time else super.unix-time; + # hslua has tests that appear to break when using musl. + # https://github.com/hslua/hslua/issues/106 + # Note that hslua is currently version 1.3. However, in the latest version + # (>= 2.0), hslua has been split into multiple packages and this override + # will likely need to be moved to the hslua-core package. + hslua = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.hslua else super.hslua; + # The test suite runs for 20+ minutes on a very fast machine, which feels kinda disproportionate. prettyprinter = dontCheck super.prettyprinter; brittany = doJailbreak (dontCheck super.brittany); # Outdated upperbound on ghc-exactprint: https://github.com/lspitzner/brittany/issues/342 From 4ea55d13bde0ea10357dcc3e733f72d92ad641e8 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 21 Dec 2021 13:40:36 +0100 Subject: [PATCH 19/21] haskellPackages.Frames-streamly: drop now unnecessary override Fix has been released by upstream. --- .../haskell-modules/configuration-common.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7e18e85f7bb5..147bafeac5d7 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1900,14 +1900,9 @@ self: super: { Cabal = self.Cabal_3_6_2_0; }); - Frames-streamly = overrideCabal (drv: { - # https://github.com/adamConnerSax/Frames-streamly/issues/1 - patchPhase = '' -cat > example_data/acs100k.csv < Date: Tue, 21 Dec 2021 13:41:02 +0100 Subject: [PATCH 20/21] haskell-ci-unstable: 0.13.20211011 -> 0.13.20211116-b61df11 Since version is not changed with every commit, let's append the git revision to the version number. --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 147bafeac5d7..4ad099ff93a2 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1887,13 +1887,13 @@ self: super: { # Build haskell-ci from git repository, including some useful fixes, # e. g. required for generating the workflows for the cabal2nix repository - haskell-ci-unstable = (overrideSrc { - version = "0.13.20211011"; + haskell-ci-unstable = (overrideSrc rec { + version = "0.13.20211116-${builtins.substring 0 7 src.rev}"; src = pkgs.fetchFromGitHub { owner = "haskell-CI"; repo = "haskell-ci"; - rev = "c88e67e675bc4a990da53863c7fb42e67bcf9847"; - sha256 = "1zhv1cg047lfyxfs3mvc73vv96pn240zaj7f2yl4lw5yj6y5rfk9"; + rev = "b61df11e7f6010ce09920c231321ab1545a990b5"; + sha256 = "0v6mqpavz5v161milq6a3x9gzap0pgksd3h4rwi2s3f9b15sczcy"; }; } super.haskell-ci).overrideScope (self: super: { attoparsec = self.attoparsec_0_14_3; From b80cd731ef2650c423ee761710592cc681c96944 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 21 Dec 2021 14:34:47 +0100 Subject: [PATCH 21/21] haskellPackages: update list of transitively broken packages --- .../configuration-hackage2nix/transitive-broken.yaml | 4 ---- pkgs/development/haskell-modules/hackage-packages.nix | 4 ---- 2 files changed, 8 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml index f5607d28feaf..059803b3b950 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml @@ -2241,7 +2241,6 @@ dont-distribute-packages: - nomyx-language - nomyx-library - nomyx-server - - notifications-tray-icon - notmuch-haskell - notmuch-web - numeric-ode @@ -2275,8 +2274,6 @@ dont-distribute-packages: - openpgp-Crypto - openpgp-crypto-api - openssh-github-keys - - opentracing-jaeger - - opentracing-zipkin-v1 - optima-for-hasql - optimal-blocks - optimusprime @@ -2729,7 +2726,6 @@ dont-distribute-packages: - servant-ede - servant-event-stream - servant-examples - - servant-github-webhook - servant-http2-client - servant-matrix-param - servant-polysemy diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 9c3109731588..54c21370d927 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -197108,7 +197108,6 @@ self: { platforms = [ "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" ]; - hydraPlatforms = lib.platforms.none; }) {}; "notmuch" = callPackage @@ -201236,7 +201235,6 @@ self: { ]; description = "Jaeger backend for OpenTracing"; license = lib.licenses.asl20; - hydraPlatforms = lib.platforms.none; }) {}; "opentracing-wai" = callPackage @@ -201278,7 +201276,6 @@ self: { ]; description = "Zipkin V1 backend for OpenTracing"; license = lib.licenses.asl20; - hydraPlatforms = lib.platforms.none; }) {}; "opentracing-zipkin-v2" = callPackage @@ -244125,7 +244122,6 @@ self: { ]; description = "Servant combinators to facilitate writing GitHub webhooks"; license = lib.licenses.mit; - hydraPlatforms = lib.platforms.none; }) {}; "servant-haxl-client" = callPackage