boost: fix build with enablePython by passing libxcrypt

This commit is contained in:
Martin Weinelt 2022-10-08 21:07:48 +02:00
parent 338d0cc6ea
commit 195aa5887d
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,4 @@
{ lib, stdenv, icu, expat, zlib, bzip2, python ? null, fixDarwinDylibNames, libiconv
{ lib, stdenv, icu, expat, zlib, bzip2, python ? null, fixDarwinDylibNames, libiconv, libxcrypt
, boost-build
, fetchpatch
, which
@ -214,7 +214,7 @@ stdenv.mkDerivation {
++ optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
buildInputs = [ expat zlib bzip2 libiconv ]
++ optional (stdenv.hostPlatform == stdenv.buildPlatform) icu
++ optional enablePython python
++ optionals enablePython [ libxcrypt python ]
++ optional enableNumpy python.pkgs.numpy;
configureScript = "./bootstrap.sh";