diff --git a/pkgs/by-name/pc/pcl/package.nix b/pkgs/by-name/pc/pcl/package.nix index 30e8b651e70b..2b326ed73ff7 100644 --- a/pkgs/by-name/pc/pcl/package.nix +++ b/pkgs/by-name/pc/pcl/package.nix @@ -3,6 +3,7 @@ stdenv, config, fetchFromGitHub, + fetchpatch, # nativeBuildInputs cmake, @@ -42,6 +43,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-+KyaajJM0I5CAcr8AiOLC4TkGV3Gm73a0/X8LQWFZMI="; }; + patches = [ + (fetchpatch { + # see https://github.com/NixOS/nixpkgs/issues/485826 to be removed at next release after 1.15.1 + name = "boost-1.89.patch"; + url = "https://github.com/PointCloudLibrary/pcl/commit/99333442ac63971297b4cdd05fab9d2bd2ff57a4.patch"; + hash = "sha256-5vg8VjxoAfEOx9n7Tby1DXe1u4rn+zharkefUovLHv0="; + }) + ]; + strictDeps = true; # remove attempt to prevent (x86/x87-specific) extended precision use