summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/nsis-env-passthru.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/nsis-env-passthru.patch')
-rw-r--r--gnu/packages/patches/nsis-env-passthru.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/patches/nsis-env-passthru.patch b/gnu/packages/patches/nsis-env-passthru.patch
new file mode 100644
index 0000000000..36b4092230
--- /dev/null
+++ b/gnu/packages/patches/nsis-env-passthru.patch
@@ -0,0 +1,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')
+
+ ######################################################################