summary refs log tree commit diff
path: root/gnu/packages/patches/nsis-env-passthru.patch
blob: 36b4092230101ec604a4de33bfd8695804e033e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- nsis-3.04-src/SConstruct	2019-05-30 14:53:30.276775332 -0400
+++ nsis-3.04-src/SConstruct	2019-05-30 14:54:17.901232914 -0400
@@ -77,6 +77,9 @@
 if not toolset and not path:
 	defenv = Environment(TARGET_ARCH = arch)
 
+import os;
+defenv['ENV'] = os.environ
+
 Export('defenv')
 
 ######################################################################