diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5074fd6cd091b..751fabf22a5d7 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2987,19 +2987,28 @@ self: super: assert super.bzlib.version == "0.5.2.0"; doJailbreak super.bzlib; - what4 = lib.pipe super.what4 [ - (addTestToolDepends ( - with pkgs; - [ - cvc4 - cvc5 - z3 + inherit + (lib.mapAttrs ( + _: pkg: + lib.pipe pkg [ + (addTestToolDepends ( + with pkgs; + [ + cvc4 + cvc5 + z3 + ] + )) + # 2025-04-09: FIXME: template_tests still failing with: + # fd:9: hPutBuf: resource vanished (Broken pipe) + dontCheck + + doDistribute ] - )) - # 2025-04-09: template_tests still failing with: - # fd:9: hPutBuf: resource vanished (Broken pipe) - dontCheck - ]; + ) super) + what4 + what4_1_7 + ; copilot-theorem = lib.pipe super.copilot-theorem [ (addTestToolDepends (with pkgs; [ z3 ])) @@ -3075,12 +3084,24 @@ self: super: # 2025-04-13: jailbreak to allow th-abstraction >= 0.7 crucible = assert super.crucible.version == "0.7.2"; - doJailbreak super.crucible; + doJailbreak ( + super.crucible.override { + what4 = self.what4_1_7; + } + ); + + crucible-llvm = super.crucible-llvm.override { + what4 = self.what4_1_7; + }; # Test suite invokes cabal-install in a way incompatible with our generic builder # (i.e. tries to re-use the ghc package db / environment from dist-newstyle). sensei = dontCheck super.sensei; + crux = super.crux.override { + simple-get-opt = self.simple-get-opt_0_4; + }; + # 2025-04-23: jailbreak to allow megaparsec >= 9.7 # 2025-04-23: test data missing from tarball crucible-syntax = doJailbreak (dontCheck super.crucible-syntax); diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 1828da16f9afe..4428623c2dd40 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -1082,10 +1082,8 @@ broken-packages: - crockford # failure in job https://hydra.nixos.org/build/233210759 at 2023-09-02 - crocodile # failure in job https://hydra.nixos.org/build/233222277 at 2023-09-02 - cronus # failure in job https://hydra.nixos.org/build/233225303 at 2023-09-02 - - crucibile-llvm # what4 >=1.7 https://hydra.nixos.org/build/295428376 - cruncher-types # failure in job https://hydra.nixos.org/build/233229024 at 2023-09-02 - crunghc # failure in job https://hydra.nixos.org/build/233193295 at 2023-09-02 - - crux # simple-get-opt <0.5 https://hydra.nixos.org/build/295428379 - crypto-cipher-benchmarks # failure in job https://hydra.nixos.org/build/233195297 at 2023-09-02 - cryptocompare # failure in job https://hydra.nixos.org/build/233192898 at 2023-09-02 - cryptoconditions # failure in job https://hydra.nixos.org/build/233211816 at 2023-09-02 diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index cf2d718df6ac9..bc0ea4ed5b1b4 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -109,6 +109,7 @@ extra-packages: - primitive-unlifted == 0.1.3.1 # 2024-03-16: preserve for ghc 9.2 - retrie < 1.2.0.0 # 2022-12-30: preserve for ghc < 9.2 - shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.* + - simple-get-opt < 0.5 # 2025-05-01: for crux-0.7.2 - stylish-haskell == 0.14.4.0 # 2022-09-19: preserve for ghc 9.0 - stylish-haskell == 0.14.5.0 # 2025-04-14: needed for hls with ghc-lib 9.6 - tar == 0.6.0.0 # 2025-02-08: last version to not require os-string (which can't be built with GHC < 9.2) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index ab3a42259dc07..72e1f74cbb0e4 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -825,6 +825,11 @@ builtins.intersectAttrs super { ]; }) super.crucible-symio; + # Test suite requires z3 to be in PATH + crucible-llvm = addTestToolDepends [ + pkgs.z3 + ] super.crucible-llvm; + # Compile manpages (which are in RST and are compiled with Sphinx). futhark = overrideCabal diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 7ef9ef329d900..1cd3822ba758f 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -167656,8 +167656,6 @@ self: { ]; description = "Simple top-level library for Crucible Simulation"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; } ) { }; @@ -607211,6 +607209,19 @@ self: { } ) { }; + "simple-get-opt_0_4" = callPackage ( + { mkDerivation, base }: + mkDerivation { + pname = "simple-get-opt"; + version = "0.4"; + sha256 = "0xr5gi22ifq6nw0q0w1rf66djsns4gfv2l9yjvxhbxr4j8bqmwik"; + libraryHaskellDepends = [ base ]; + description = "A simple library for processing command-line options"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + } + ) { }; + "simple-get-opt" = callPackage ( { mkDerivation, base }: mkDerivation {