mirtk: patch out FindTBB.cmake module

This commit is contained in:
Emily
2025-09-15 17:29:17 +01:00
parent 25f70072e2
commit 5b43f1225c
+7
View File
@@ -41,6 +41,13 @@ stdenv.mkDerivation {
# unclear if specific to Nixpkgs
doCheck = false;
postPatch = ''
# Their old `FindTBB` module conflicts with others.
rm CMake/Modules/FindTBB.cmake
substituteInPlace CMake/Modules/CMakeLists.txt \
--replace-fail '"FindTBB.cmake"' ""
'';
postInstall = ''
install -Dm644 -t "$out/share/bash-completion/completions/mirtk" share/completion/bash/mirtk
'';