mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Merge pull request #182389 from lf-/fix-aeson-ts
haskellPackages.aeson-typescript: fix the testsuite and unbreak
This commit is contained in:
commit
4f0b8bdb20
@ -94,7 +94,6 @@ broken-packages:
|
||||
- aeson-streams
|
||||
- aeson-t
|
||||
- aeson-toolkit
|
||||
- aeson-typescript
|
||||
- aeson-utils
|
||||
- aeson-via
|
||||
- aeson-with
|
||||
|
@ -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
|
||||
|
@ -26129,8 +26129,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
|
||||
|
Loading…
Reference in New Issue
Block a user