Skip to content

Commit 1de4691

Browse files
committed
or-tools: fix checkPhase issues
1 parent a9f7dd9 commit 1de4691

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • pkgs/development/libraries/science/math/or-tools

pkgs/development/libraries/science/math/or-tools/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ stdenv.mkDerivation rec {
3939
url = "https://github.com/google/or-tools/commit/a26602f24781e7bfcc39612568aa9f4010bb9736.patch";
4040
hash = "sha256-gM0rW0xRXMYaCwltPK0ih5mdo3HtX6mKltJDHe4gbLc=";
4141
})
42+
# Backport fix in cmake test configuration where pip installs newer version from PyPi over local build,
43+
# breaking checkPhase: https://github.com/google/or-tools/issues/3260
44+
(fetchpatch {
45+
url = "https://github.com/google/or-tools/commit/edd1544375bd55f79168db315151a48faa548fa0.patch";
46+
hash = "sha256-S//1YM3IoRCp3Ghg8zMF0XXgIpVmaw4gH8cVb9eUbqM=";
47+
})
4248
];
4349

4450
cmakeFlags = [

0 commit comments

Comments
 (0)