1 diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py
2 index 11cf0beca..80f950866 100644
3 --- a/mesonbuild/dependencies/boost.py
4 +++ b/mesonbuild/dependencies/boost.py
5 @@ -687,20 +687,7 @@ class BoostDependency(SystemDependency):
9 - # Add some default system paths
12 - Path('/opt/homebrew/'), # for Apple Silicon MacOS
13 - Path('/usr/local/opt/boost'), # for Intel Silicon MacOS
15 - tmp += [Path('/opt/local')]
16 - tmp += [Path('/usr/local')]
17 - tmp += [Path('/usr')]
20 - tmp = [x for x in tmp if x.is_dir()]
21 - tmp = [x.resolve() for x in tmp]
23 + # Remove such spurious, non-explicit "system" paths for Nix&Nixpkgs
25 self.check_and_set_roots(roots, use_system=True)