Skip to content

Commit

Permalink
Enable external-static-plugin test for GHC >=9.6 (Fixes #2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 29, 2024
1 parent 329d7f0 commit 38be99b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/external-static-plugin/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ cabalProject', testSrc, compiler-nix-name, evalPackages, recurseIntoAttrs, haskellLib }: let
{ cabalProject', testSrc, compiler-nix-name, buildPackages evalPackages, recurseIntoAttrs, haskellLib }: let
project = cabalProject' {
src = testSrc "external-static-plugin";
inherit compiler-nix-name evalPackages;
Expand All @@ -19,9 +19,9 @@ in recurseIntoAttrs {
inherit (project) plan-nix;
};

meta.disabled = !(builtins.elem compiler-nix-name [
"ghc810420210212"
]) || haskellLib.isCrossHost;
meta.disabled =
__compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.6" < 0
|| haskellLib.isCrossHost;

build = project.hsPkgs.prog.components.exes.prog;
}

0 comments on commit 38be99b

Please sign in to comment.