about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorDeniz Alp <denizalpd@ogr.iu.edu.tr>2022-02-08 12:34:38 +0300
committersternenseemann <sternenseemann@systemli.org>2022-02-08 13:17:20 +0100
commite6cde9b47a1998c537aac7cec66eb43e2e7e5dbd (patch)
tree09e09191f36e40161db453011d7fbb5d05dff8ed /pkgs/development/haskell-modules
parent6a6a2cdbe923dbee5e38ba1fd3479cb4b0077afe (diff)
downloadnixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.tar
nixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.tar.gz
nixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.tar.bz2
nixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.tar.lz
nixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.tar.xz
nixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.tar.zst
nixlib-e6cde9b47a1998c537aac7cec66eb43e2e7e5dbd.zip
haskellPackages.numerals: Disable version checks
We could also be using fetchFromGithub but the repo looks stale enough that it
doesn't really matter, plus the upper bounds for almost all the dependencies
doesn't exist anymore.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml1
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix2
3 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index e99d653d832b..b1f641199d43 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -63,6 +63,12 @@ self: super: {
   # works fine there.
   fakedata = dontCheck super.fakedata;
 
+  # The latest release on hackage has an upper bound on containers which
+  # breaks the build, though it works with the version of containers present
+  # and the upper bound doesn't exist in code anymore:
+  # > https://github.com/roelvandijk/numerals
+  numerals = doJailbreak (dontCheck super.numerals);
+
   # This test keeps being aborted because it runs too quietly for too long
   Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2;
 
@@ -307,7 +313,6 @@ self: super: {
   network-dbus = dontCheck super.network-dbus;
   notcpp = dontCheck super.notcpp;
   ntp-control = dontCheck super.ntp-control;
-  numerals = dontCheck super.numerals;
   odpic-raw = dontCheck super.odpic-raw; # needs a running oracle database server
   opaleye = dontCheck super.opaleye;
   openpgp = dontCheck super.openpgp;
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
index c1c584e05eb1..d3878ab1fde7 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
@@ -3437,7 +3437,6 @@ broken-packages:
   - numbered-semigroups
   - NumberSieves
   - NumberTheory
-  - numerals
   - numerals-base
   - numeric-qq
   - numeric-ranges
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 9e1914b3b97f..af5f4f022a54 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -199469,8 +199469,6 @@ self: {
        benchmarkHaskellDepends = [ base criterion ];
        description = "Convert numbers to number words";
        license = lib.licenses.bsd3;
-       hydraPlatforms = lib.platforms.none;
-       broken = true;
      }) {};
 
   "numerals-base" = callPackage