nixpkgs/pkgs/by-name/sc/scons/env.patch
K900 a1614c9d56 scons: move to by-name, update to 4.7.0, drop all the old versions
This techinically removes the man pages, but that's probably fine?
2024-07-02 17:22:09 +03:00

10 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"]