Skip to content

Commit 0ff042b

Browse files
committed
occt: apply blobfish patch
1 parent f9ce846 commit 0ff042b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pkgs/opencascade-occt/default.nix

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
fetchpatch,
34
stdenv,
45
fetchurl,
56
cmake,
@@ -19,7 +20,6 @@
1920
freeimage,
2021
enableFreeimage ? false,
2122
}:
22-
2323
stdenv.mkDerivation rec {
2424
pname = "opencascade-occt";
2525
version = "7.7.2";
@@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
3131
sha256 = "sha256-M0G/pJuxsJu5gRk0rIgC173/XxI1ERpmCtWjgr/0dyY=";
3232
};
3333

34+
patches = [
35+
(fetchpatch {
36+
url = "https://raw.githubusercontent.com/conda-forge/occt-feedstock/00ff0f68644d9582a4c30c01220e7de0f934d427/recipe/patches/blobfish.patch";
37+
sha256 = "sha256-5tqkx7W7VBw7qaseFgwBENKbGQ0iUYEL6SJHwGI9L/g=";
38+
})
39+
];
40+
3441
nativeBuildInputs = [
3542
cmake
3643
ninja

0 commit comments

Comments
 (0)