summary refs log tree commit diff
path: root/pkgs/development/libraries/boost
diff options
context:
space:
mode:
authorStephen <stephengroat@users.noreply.github.com>2018-08-27 11:44:07 -0700
committerUli Baum <xeji@cat3.de>2018-08-28 00:01:09 +0200
commit775d1ecf578bed07b22f5780feae60f6272b4f1e (patch)
tree599177d97a869b6c01b3483f016519a61ca51179 /pkgs/development/libraries/boost
parentd83273d57d160fb79172d67aa8a20c9d1682e53a (diff)
downloadnixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.tar
nixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.tar.gz
nixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.tar.bz2
nixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.tar.lz
nixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.tar.xz
nixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.tar.zst
nixpkgs-775d1ecf578bed07b22f5780feae60f6272b4f1e.zip
boost: disable python explicitly in b2Args (#45679)
(cherry picked from commit 3b862a638952c814c49291ca3efa13e8363c77a2)
Diffstat (limited to 'pkgs/development/libraries/boost')
-rw-r--r--pkgs/development/libraries/boost/generic.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix
index dab6fac6f0c..d2b70ebe691 100644
--- a/pkgs/development/libraries/boost/generic.nix
+++ b/pkgs/development/libraries/boost/generic.nix
@@ -74,6 +74,7 @@ let
   ] ++ optional (link != "static") "runtime-link=${runtime-link}"
     ++ optional (variant == "release") "debug-symbols=off"
     ++ optional (toolset != null) "toolset=${toolset}"
+    ++ optional (!enablePython) "--without-python"
     ++ optional (mpi != null || hostPlatform != buildPlatform) "--user-config=user-config.jam"
     ++ optionals (hostPlatform.libc == "msvcrt") [
     "threadapi=win32"