From ed3fe4c6c4b6f5bc8a370db3b74e0d19262cd2e4 Mon Sep 17 00:00:00 2001 From: Henning Thielemann Date: Tue, 16 Nov 2021 12:25:31 +0100 Subject: [PATCH] haskellPackages.lapack: disable tests because they do not run reliably remove from broken.yaml Closes #146231. Closes #146472. Co-authored-by: sternenseemann --- .../development/haskell-modules/configuration-common.nix | 3 +++ .../configuration-hackage2nix/broken.yaml | 1 - .../configuration-hackage2nix/transitive-broken.yaml | 9 +-------- pkgs/development/haskell-modules/hackage-packages.nix | 8 -------- 4 files changed, 4 insertions(+), 17 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 47b9bc1131e3..83e9ea32509f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -15,6 +15,9 @@ with haskellLib; self: super: { + # There are numerical tests on random data, that may fail occasionally + lapack = dontCheck super.lapack; + # Arion's test suite needs a Nixpkgs, which is cumbersome to do from Nixpkgs # itself. For instance, pkgs.path has dirty sources and puts a huge .git in the # store. Testing is done upstream. diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 2eeb0efd70ca..141a30f20070 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -2789,7 +2789,6 @@ broken-packages: - language-typescript - language-vhdl - language-webidl - - lapack - LargeCardinalHierarchy - Lastik - latest-npm-version diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml index 460a832123a4..0780f9135678 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml @@ -1570,7 +1570,6 @@ dont-distribute-packages: - hmeap - hmeap-utils - hmep - - hmm-lapack - hmm-lapack_0_4_1 - hmt - hmt-diagrams @@ -1917,7 +1916,7 @@ dont-distribute-packages: - language-python-colour - language-qux - language-spelling - - lapack-hmatrix + - lapack_0_4 - lat - latex-formulae-hakyll - latex-formulae-pandoc @@ -1962,8 +1961,6 @@ dont-distribute-packages: - lightstep-haskell - lighttpd-conf - lighttpd-conf-qq - - linear-circuit - - linear-circuit_0_1_0_3 - linearmap-category - linearscan-hoopl - linkchk @@ -2043,8 +2040,6 @@ dont-distribute-packages: - macosx-make-standalone - magic-wormhole - magicbane - - magico - - magico_0_0_2_2 - mahoro - maid - mail-pool @@ -2579,8 +2574,6 @@ dont-distribute-packages: - replicant - repr - representable-tries - - resistor-cube - - resistor-cube_0_0_1_3 - resource-pool-catchio - resource-simple - respond diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index a6d7956291ca..d3371941edae 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -134619,7 +134619,6 @@ self: { testHaskellDepends = [ base QuickCheck ]; description = "Hidden Markov Models using LAPACK primitives"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "hmm-lapack_0_4_1" = callPackage @@ -163599,8 +163598,6 @@ self: { ]; description = "Numerical Linear Algebra using LAPACK"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "lapack_0_4" = callPackage @@ -163632,7 +163629,6 @@ self: { description = "Numerical Linear Algebra using LAPACK"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "lapack-carray" = callPackage @@ -163717,7 +163713,6 @@ self: { ]; description = "Conversion of objects between 'lapack' and 'hmatrix'"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "large-hashable" = callPackage @@ -168091,7 +168086,6 @@ self: { ]; description = "Compute resistance of linear electrical circuits"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "linear-circuit_0_1_0_3" = callPackage @@ -174132,7 +174126,6 @@ self: { ]; description = "Compute solutions for Magico puzzle"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "magico_0_0_2_2" = callPackage @@ -229397,7 +229390,6 @@ self: { executableHaskellDepends = [ base comfort-array lapack ]; description = "Compute total resistance of a cube of resistors"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "resistor-cube_0_0_1_3" = callPackage