summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/astroid/propagate-environment.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/mailreaders/astroid/propagate-environment.patch')
-rw-r--r--pkgs/applications/networking/mailreaders/astroid/propagate-environment.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/astroid/propagate-environment.patch b/pkgs/applications/networking/mailreaders/astroid/propagate-environment.patch
new file mode 100644
index 000000000000..db536ea721f2
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/astroid/propagate-environment.patch
@@ -0,0 +1,13 @@
+diff --git a/SConstruct b/SConstruct
+index a80bca3..ed2cd6d 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -5,7 +5,7 @@ from subprocess import *
+ def getGitDesc():
+   return Popen('git describe --abbrev=8 --tags --always', stdout=PIPE, shell=True).stdout.read ().strip ()
+ 
+-env = Environment ()
++env = Environment(ENV = os.environ)
+ 
+ AddOption ("--release", action="store", dest="release", default="git", help="Make a release (default: git describe output)")
+ AddOption ("--enable-debug", action="store", dest="debug", default=None, help="Enable the -g flag for debugging (default: true when release is git)")