summary refs log tree commit diff
path: root/pkgs/development/libraries/boost
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2012-12-10 13:34:06 +0200
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2012-12-10 13:35:24 +0200
commita787cf28916b29fec087ace22ef1cacb0660ceb5 (patch)
tree0da601ec59102070c12f63c06710571756a56a0a /pkgs/development/libraries/boost
parent28d178521d9e2cfb50b1ebfcfed6a666f0bad28d (diff)
downloadnixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.tar
nixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.tar.gz
nixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.tar.bz2
nixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.tar.lz
nixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.tar.xz
nixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.tar.zst
nixpkgs-a787cf28916b29fec087ace22ef1cacb0660ceb5.zip
Boost: fix to install bjam
Diffstat (limited to 'pkgs/development/libraries/boost')
-rw-r--r--pkgs/development/libraries/boost/1.52.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boost/1.52.nix b/pkgs/development/libraries/boost/1.52.nix
index 0de11aaed87..367c2426b78 100644
--- a/pkgs/development/libraries/boost/1.52.nix
+++ b/pkgs/development/libraries/boost/1.52.nix
@@ -63,7 +63,12 @@ stdenv.mkDerivation {
 
   buildPhase = "./b2 -j$NIX_BUILD_CORES -sEXPAT_INCLUDE=${expat}/include -sEXPAT_LIBPATH=${expat}/lib --layout=${layout} variant=${variant} threading=${threading} link=${link} ${cflags} install";
 
-  installPhase = ":";
+  # normal install does not install bjam, this is a separate step
+  installPhase = ''
+    cd tools/build/v2
+    sh bootstrap.sh
+    ./b2 -j$NIX_BUILD_CORES -sEXPAT_INCLUDE=${expat}/include -sEXPAT_LIBPATH=${expat}/lib --layout=${layout} variant=${variant} threading=${threading} link=${link} ${cflags} install
+  '';
 
   crossAttrs = rec {
     buildInputs = [ expat.hostDrv zlib.hostDrv bzip2.hostDrv ];