about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2016-04-09 11:51:15 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2016-04-09 11:51:15 +0200
commitdddafe61ebcb3ab347a6e34c2b00449081d5be24 (patch)
tree97bed7d01633fdfa4514bb87c834774ed8b620e7 /pkgs/development
parent7da3bba260a32a2375aeade12fcea14df67db4c0 (diff)
parent2be0505b8df56a65e5b19910e3133fd41d5666b7 (diff)
downloadnixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.tar
nixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.tar.gz
nixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.tar.bz2
nixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.tar.lz
nixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.tar.xz
nixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.tar.zst
nixlib-dddafe61ebcb3ab347a6e34c2b00449081d5be24.zip
Merge pull request #14498 from expipiplus1/python-cgkit
pythonPackages.cgkit: init at 2.0.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/cgkit/scons-env.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cgkit/scons-env.patch b/pkgs/development/python-modules/cgkit/scons-env.patch
new file mode 100644
index 000000000000..65e9d58a0ae4
--- /dev/null
+++ b/pkgs/development/python-modules/cgkit/scons-env.patch
@@ -0,0 +1,22 @@
+diff --git a/supportlib/SConstruct b/supportlib/SConstruct
+index 7f797b9..07907e9 100644
+--- a/supportlib/SConstruct
++++ b/supportlib/SConstruct
+@@ -5,7 +5,7 @@
+ # library.
+ ######################################################################
+ 
+-import sys, glob, os.path
++import sys, glob, os.path, os
+ 
+ # Read the options
+ vars = Variables("cpp_config.cfg")
+@@ -16,7 +16,7 @@ vars.Add("CPPPATH", "The include directories", [])
+ vars.Add("MSVS_VERSION", "The preferred version of MS Visual Studio")
+ 
+ # Create the construction environment
+-env = Environment(variables = vars)
++env = Environment(variables = vars, ENV = os.environ)
+ 
+ # Build the files in "obj"
+ env.VariantDir("obj", "src", duplicate=0)