depot/third_party/nixpkgs/pkgs/development/tools/build-managers/scons/env.patch
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

9 lines
362 B
Diff

diff --git a/SCons/Platform/posix.py b/SCons/Platform/posix.py
index 4c9f8f9ba..d68da1b08 100644
--- a/SCons/Platform/posix.py
+++ b/SCons/Platform/posix.py
@@ -30,0 +31 @@ selection method.
+import os
@@ -87 +88 @@ def generate(env):
- env['ENV']['PATH'] = '/usr/local/bin:/opt/bin:/bin:/usr/bin:/snap/bin'
+ env['ENV']['PATH'] = os.environ["PATH"]