about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorJoe Hermaszewski <git@monoid.al>2016-04-06 15:31:04 +0100
committerJoe Hermaszewski <git@monoid.al>2016-04-06 15:31:04 +0100
commita4e7cc58bb7829c52907c6047ee48720b0a9c544 (patch)
treea03012a1be9c70ebf3d1255a659d004f7acf5d56 /pkgs/development
parent13c6b9ba8549c3db91c6f321e0413a538bce9388 (diff)
downloadnixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.tar
nixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.tar.gz
nixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.tar.bz2
nixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.tar.lz
nixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.tar.xz
nixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.tar.zst
nixlib-a4e7cc58bb7829c52907c6047ee48720b0a9c544.zip
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)