diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index e1b480c5b026..499ae9bf956b 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -94,7 +94,6 @@ broken-packages: - aeson-streams - aeson-t - aeson-toolkit - - aeson-typescript - aeson-utils - aeson-via - aeson-with diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index f16a2c439f1a..09336b009cf0 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -858,6 +858,16 @@ self: super: builtins.intersectAttrs super { ); hercules-ci-cnix-store = super.hercules-ci-cnix-store.override { nix = pkgs.nixVersions.nix_2_9; }; + # the testsuite fails because of not finding tsc without some help + aeson-typescript = overrideCabal (drv: { + testToolDepends = drv.testToolDepends or [] ++ [ pkgs.nodePackages.typescript ]; + # the testsuite assumes that tsc is in the PATH if it thinks it's in + # CI, otherwise trying to install it. + # + # https://github.com/codedownio/aeson-typescript/blob/ee1a87fcab8a548c69e46685ce91465a7462be89/test/Util.hs#L27-L33 + preCheck = "export CI=true"; + }) super.aeson-typescript; + # Enable extra optimisations which increase build time, but also # later compiler performance, so we should do this for user's benefit. # Flag added in Agda 2.6.2 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 4a8d1e8711ce..d8b4362a7e21 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -26172,8 +26172,6 @@ self: { ]; description = "Generate TypeScript definition files from your ADTs"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "aeson-typescript_0_4_0_0" = callPackage