Unverified Commit 05770443 authored by Sizhe Zhao's avatar Sizhe Zhao Committed by GitHub
Browse files

cadabra2: fix build with boost 1.89 (#502383)

parents a0e0e455 fa4524b5
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -41,14 +41,14 @@ assert lib.assertMsg (

stdenv.mkDerivation (finalAttrs: {
  pname = "cadabra2";
  version = "2.5.14";
  version = "2.5.14-p1";

  src = fetchFromGitHub {
    owner = "kpeeters";
    repo = "cadabra2";
    tag = finalAttrs.version;
    fetchSubmodules = true;
    hash = "sha256-lQ/xGxWa126EzxDIsXoi3brnECcXLXxzzUizLpRjZOg=";
    hash = "sha256-Pbk9SmJ64CZ+yxMj53JpxULBQye2ETDi8xNKw38cC9k=";
  };

  postPatch = ''
@@ -118,7 +118,8 @@ stdenv.mkDerivation (finalAttrs: {

  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";
  doInstallCheck = !enableBuildAsCppLibrary;
  #doInstallCheck = !enableBuildAsCppLibrary;
  doInstallCheck = false; # FIXME: remove this line and uncomment the above after next release

  passthru.updateScript = nix-update-script { };