Merge pull request #197398 from cpcloud/fix-pybind11-python38

python38Packages.pybind11: fix build

authored by Robert Scott and committed by GitHub c57a3ec2 945decaf

+3
+3
pkgs/development/python-modules/pybind11/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , buildPythonPackage 4 + , pythonOlder 4 5 , fetchFromGitHub 5 6 , cmake 6 7 , boost ··· 9 10 , catch 10 11 , numpy 11 12 , pytestCheckHook 13 + , libxcrypt 12 14 }: 13 15 14 16 buildPythonPackage rec { ··· 27 29 ''; 28 30 29 31 nativeBuildInputs = [ cmake ]; 32 + buildInputs = lib.optionals (pythonOlder "3.9") [ libxcrypt ]; 30 33 31 34 dontUseCmakeBuildDir = true; 32 35