diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 0080356494..8ef9a5c277 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -717,6 +717,13 @@ (define-public kicad "-DBUILD_GITHUB_PLUGIN=OFF") #:phases (modify-phases %standard-phases + (add-after 'unpack 'adjust-boost-include + (lambda _ + ;; The location of this header changed in Boost 1.66. + (substitute* "3d-viewer/3d_cache/3d_cache.cpp" + (("boost/uuid/sha1\\.hpp") + "boost/uuid/detail/sha1.hpp")) + #t)) (add-after 'install 'wrap-program ;; Ensure correct Python at runtime. (lambda* (#:key inputs outputs #:allow-other-keys)