From 58aec3d12a98a3723df599ff0dcd5af441d9fc94 Mon Sep 17 00:00:00 2001 From: Gabriella Gonzalez Date: Tue, 28 Mar 2023 08:43:27 -0700 Subject: [PATCH] haskellPackages.openai-hs: Fix build by disabling tests --- pkgs/development/haskell-modules/configuration-common.nix | 1 + .../haskell-modules/configuration-hackage2nix/broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 609aabe52ee3..134491932438 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1164,6 +1164,7 @@ self: super: { # Requires API keys to run tests algolia = dontCheck super.algolia; + openai-hs = dontCheck super.openai-hs; # antiope-s3's latest stackage version has a hspec < 2.6 requirement, but # hspec which isn't in stackage is already past that diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index f938236c59a8..8924114891ce 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -3725,7 +3725,6 @@ broken-packages: - opaleye-trans - open-adt - OpenAFP - - openai-hs - openapi3 - openapi3-code-generator - openapi-petstore diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 9646ba3aff0b..5a5e2aa1c749 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -210813,8 +210813,6 @@ self: { ]; description = "Unofficial OpenAI client"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "openai-servant" = callPackage