python38Packages.pybind11: fix build
This commit is contained in:
parent
b2f191295b
commit
89dcf2c639
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, boost
|
||||
|
@ -9,6 +10,7 @@
|
|||
, catch
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, libxcrypt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -27,6 +29,7 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = lib.optionals (pythonOlder "3.9") [ libxcrypt ];
|
||||
|
||||
dontUseCmakeBuildDir = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue