chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / me / meson / 005-boost-Do-not-add-system-paths-on-nix.patch
blobbfc55b3c0ffbc47f3e9f50770e164cbc67a200c6
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):
6 else:
7 tmp: T.List[Path] = []
9 - # Add some default system paths
10 - if m.is_darwin():
11 - tmp.extend([
12 - Path('/opt/homebrew/'), # for Apple Silicon MacOS
13 - Path('/usr/local/opt/boost'), # for Intel Silicon MacOS
14 - ])
15 - tmp += [Path('/opt/local')]
16 - tmp += [Path('/usr/local')]
17 - tmp += [Path('/usr')]
19 - # Cleanup paths
20 - tmp = [x for x in tmp if x.is_dir()]
21 - tmp = [x.resolve() for x in tmp]
22 - roots += tmp
23 + # Remove such spurious, non-explicit "system" paths for Nix&Nixpkgs
25 self.check_and_set_roots(roots, use_system=True)