summary refs log tree commit diff
path: root/pkgs/tools/security/chaps/fix_scons.patch
diff options
context:
space:
mode:
authorThomas Strobel <ts468@cam.ac.uk>2015-07-03 22:59:57 +0200
committerThomas Strobel <ts468@cam.ac.uk>2015-07-04 12:53:09 +0200
commitb73e91723704ab60c66340b7743c1689ebb665a1 (patch)
tree2cba8b4cff0bbafef3e2c84f757ea92f4e3750e1 /pkgs/tools/security/chaps/fix_scons.patch
parenta5360c5b6edd150673b29b90f95e0eee840d6766 (diff)
downloadnixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.tar
nixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.tar.gz
nixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.tar.bz2
nixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.tar.lz
nixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.tar.xz
nixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.tar.zst
nixpkgs-b73e91723704ab60c66340b7743c1689ebb665a1.zip
chaps: init at version 0.42-6812
Chaps is a PKCS #11 implementation with TPM backend.
Diffstat (limited to 'pkgs/tools/security/chaps/fix_scons.patch')
-rw-r--r--pkgs/tools/security/chaps/fix_scons.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/chaps/fix_scons.patch b/pkgs/tools/security/chaps/fix_scons.patch
new file mode 100644
index 00000000000..54843453c86
--- /dev/null
+++ b/pkgs/tools/security/chaps/fix_scons.patch
@@ -0,0 +1,26 @@
+diff --git a/extrasrc/Sconstruct.libchrome b/extrasrc/Sconstruct.libchrome
+index 4feb76d..311fe8a 100644
+--- a/extrasrc/Sconstruct.libchrome
++++ b/extrasrc/Sconstruct.libchrome
+@@ -103,7 +103,7 @@ base_lib = {
+     'pc_libs' : 'glib-2.0',
+ }
+ 
+-env = Environment()
++env = Environment(ENV = os.environ)
+ 
+ BASE_VER = os.environ.get('BASE_VER', '0')
+ GTEST_DIR = os.environ.get('GTEST_DIR', '0')
+diff --git a/extrasrc/Sconstruct.libchromeos b/extrasrc/Sconstruct.libchromeos
+index 1da6001..66f9acb 100644
+--- a/extrasrc/Sconstruct.libchromeos
++++ b/extrasrc/Sconstruct.libchromeos
+@@ -18,7 +18,7 @@ base_lib = {
+     'pc_libs' : 'dbus-c++-1',
+ }
+ 
+-env = Environment()
++env = Environment(ENV = os.environ)
+ 
+ PKG_CONFIG = os.environ.get('PKG_CONFIG', 'pkg-config')
+ BASE_VER = os.environ.get('BASE_VER', '0')