mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Correct boost configure phase when enablePython is false
The bootstrap script does not seem to have --without-python; instead just omit --with-python option
This commit is contained in:
parent
5e31e828f8
commit
35462db2e3
@ -125,9 +125,9 @@ stdenv.mkDerivation {
|
||||
configureFlags = [
|
||||
"--includedir=$(dev)/include"
|
||||
"--libdir=$(out)/lib"
|
||||
(if enablePython then "--with-python=${python.interpreter}" else "--without-python")
|
||||
(if hostPlatform == buildPlatform then "--with-icu=${icu.dev}" else "--without-icu")
|
||||
] ++ optional (toolset != null) "--with-toolset=${toolset}";
|
||||
] ++ optional enablePython "--with-python=${python.interpreter}"
|
||||
++ [ (if hostPlatform == buildPlatform then "--with-icu=${icu.dev}" else "--without-icu") ]
|
||||
++ optional (toolset != null) "--with-toolset=${toolset}";
|
||||
|
||||
buildPhase = ''
|
||||
./b2 ${b2Args}
|
||||
|
Loading…
Reference in New Issue
Block a user