nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 20 lines 878 B view raw
1diff --git a/SConstruct b/SConstruct 2index 057ec7628c..760be89fff 100644 3--- a/SConstruct 4+++ b/SConstruct 5@@ -67,14 +67,7 @@ elif platform_arg == "javascript": 6 elif os.name == "nt" and methods.get_cmdline_bool("use_mingw", False): 7 custom_tools = ["mingw"] 8 9-# We let SCons build its default ENV as it includes OS-specific things which we don't 10-# want to have to pull in manually. 11-# Then we prepend PATH to make it take precedence, while preserving SCons' own entries. 12-env_base = Environment(tools=custom_tools) 13-env_base.PrependENVPath("PATH", os.getenv("PATH")) 14-env_base.PrependENVPath("PKG_CONFIG_PATH", os.getenv("PKG_CONFIG_PATH")) 15-if "TERM" in os.environ: # Used for colored output. 16- env_base["ENV"]["TERM"] = os.environ["TERM"] 17+env_base = Environment(ENV = os.environ, tools=custom_tools) 18 19 env_base.disabled_modules = [] 20 env_base.use_ptrcall = False