diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-12-12 22:47:19 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-12-14 16:37:40 -0300 |
commit | fac4c247ca3f19400ddefce6a88d4c50b0a539e3 (patch) | |
tree | f64188e0c5708371326858d6cf39f6397dd9066e /pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch | |
parent | e9c8925d1bc83625489dea6ef446f8218f9b25f8 (diff) | |
download | nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.tar nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.tar.gz nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.tar.bz2 nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.tar.lz nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.tar.xz nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.tar.zst nixpkgs-fac4c247ca3f19400ddefce6a88d4c50b0a539e3.zip |
meson: 0.57.1 -> 0.60.2
Diffstat (limited to 'pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch')
-rw-r--r-- | pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch b/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch index 5b9020b3d54..0a2eda9de9a 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch +++ b/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch @@ -1,26 +1,10 @@ -From 536108b10271f2f42d41c7d9ddb4ce2ea1851f4f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= <mail@nh2.me> -Date: Sat, 17 Oct 2020 19:27:08 +0200 -Subject: [PATCH] boost: Do not add system paths on nix - ---- - mesonbuild/dependencies/boost.py | 17 +---------------- - 1 file changed, 1 insertion(+), 16 deletions(-) - -diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py -index 907c0c275..ecaf11b18 100644 ---- a/mesonbuild/dependencies/boost.py -+++ b/mesonbuild/dependencies/boost.py -@@ -643,22 +643,7 @@ class BoostDependency(ExternalDependency): - roots += [x for x in candidates if x.name.lower().startswith('boost') and x.is_dir()] +diff -Naur meson-0.60.2-old/mesonbuild/dependencies/boost.py meson-0.60.2-new/mesonbuild/dependencies/boost.py +--- meson-0.60.2-old/mesonbuild/dependencies/boost.py 2021-11-02 16:58:07.000000000 -0300 ++++ meson-0.60.2-new/mesonbuild/dependencies/boost.py 2021-12-12 19:21:27.895705897 -0300 +@@ -682,16 +682,7 @@ else: tmp = [] # type: T.List[Path] -- -- # Homebrew -- brew_boost = Path('/usr/local/Cellar/boost') -- if brew_boost.is_dir(): -- tmp += [x for x in brew_boost.iterdir()] -- + - # Add some default system paths - tmp += [Path('/opt/local')] - tmp += [Path('/usr/local/opt/boost')] @@ -31,10 +15,7 @@ index 907c0c275..ecaf11b18 100644 - tmp = [x for x in tmp if x.is_dir()] - tmp = [x.resolve() for x in tmp] - roots += tmp -+ # Do not add any non-explicit paths on nix ++ # Remove such spurious, non-explicit "system" paths for Nix&Nixpkgs - return roots + self.check_and_set_roots(roots, use_system=True) --- -2.25.4 - |