mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
python38Packages.pybind11: fix build
This commit is contained in:
parent
b2f191295b
commit
89dcf2c639
@ -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 New Issue
Block a user