spago: mark broken in ghc92

This commit is contained in:
Dennis Gosnell 2022-11-26 02:28:54 -05:00
parent f3b87b4075
commit 63ad94602d
No known key found for this signature in database
GPG Key ID: 462E0C03D11422F4
2 changed files with 13 additions and 10 deletions

View File

@ -637,7 +637,9 @@ self: super: builtins.intersectAttrs super {
# Tests require network access.
spagoWithoutChecks = dontCheck spagoOldAeson;
in
spagoWithoutChecks;
# spago doesn't currently build with ghc92. Top-level spago is pulled from
# ghc90 and explicitly marked unbroken.
markBroken spagoWithoutChecks;
# checks SQL statements at compile time, and so requires a running PostgreSQL
# database to run it's test suite

View File

@ -11,14 +11,16 @@
let
spago =
haskell.lib.compose.justStaticExecutables
(haskell.lib.compose.overrideCabal (oldAttrs: {
maintainers = (oldAttrs.maintainers or []) ++ [
lib.maintainers.cdepillabout
];
changelog =
"https://github.com/purescript/spago/releases/tag/${oldAttrs.version}";
}) haskell.packages.ghc90.spago);
lib.pipe
haskell.packages.ghc90.spago
[ haskell.lib.compose.justStaticExecutables
(haskell.lib.compose.overrideCabal (oldAttrs: {
maintainers = (oldAttrs.maintainers or []) ++ [ lib.maintainers.cdepillabout ];
changelog = "https://github.com/purescript/spago/releases/tag/${oldAttrs.version}";
}))
haskell.lib.compose.unmarkBroken
haskell.lib.compose.doDistribute
];
in
spago.overrideAttrs (oldAttrs: {
@ -57,4 +59,3 @@ spago.overrideAttrs (oldAttrs: {
'';
};
})