haskellPackages.rest-rewrite: fix by creating graphs directory for tests

This commit is contained in:
Dennis Gosnell 2023-07-10 12:57:56 +09:00
parent 1b36ac8eec
commit 3ba086a64b
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4
3 changed files with 12 additions and 4 deletions

View file

@ -4532,7 +4532,6 @@ broken-packages:
- resource-embed
- respond
- restartable
- rest-rewrite
- restyle
- resumable-exceptions
- rethinkdb

View file

@ -1299,8 +1299,19 @@ self: super: builtins.intersectAttrs super {
scalendar = dontCheck super.scalendar;
halide-haskell = super.halide-haskell.override { Halide = pkgs.halide; };
# Sydtest has a brittle test suite that will only work with the exact
rest-rewrite =
overrideCabal
(oldAttrs: {
# Directory is needed for tests.
# https://github.com/zgrannan/rest/issues/37
postPatch = oldAttrs.postPatch or "" + ''
mkdir graphs
'';
})
super.rest-rewrite;
# Sydtest has a brittle test suite that will only work with the exact
# versions that it ships with.
sydtest = dontCheck super.sydtest;
}

View file

@ -247937,8 +247937,6 @@ self: {
doHaddock = false;
description = "Rewriting library with online termination checking";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {inherit (pkgs) graphviz; inherit (pkgs) z3;};
"rest-snap" = callPackage