summary refs log tree commit diff
path: root/pkgs/development/libraries/boost/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/boost/default.nix')
-rw-r--r--pkgs/development/libraries/boost/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boost/default.nix b/pkgs/development/libraries/boost/default.nix
index a5172e31625..27c42ad7203 100644
--- a/pkgs/development/libraries/boost/default.nix
+++ b/pkgs/development/libraries/boost/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl}:
+{stdenv, fetchurl, icu, zlib, bzip2, python}:
 
 stdenv.mkDerivation {
   name = "boost-1.34.0";
@@ -6,4 +6,9 @@ stdenv.mkDerivation {
     url = http://kent.dl.sourceforge.net/sourceforge/boost/boost_1_34_0.tar.bz2;
     sha256 = "1lpganl8grvmy8rsbps5688yqiswvixjwz15d0kjfndp87xbhp25";
   };
+  buildInputs = [icu zlib bzip2 python];
+  preConfigure="
+    sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"--layout=system release threading=multi link=shared\"@g' -i configure
+  ";
+  configureFlags="--with-icu=${icu}";
 }