about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-10-24 00:54:01 +0100
committerGitHub <noreply@github.com>2022-10-24 00:54:01 +0100
commitc57a3ec292348326d926a22289c80f7acd2ee050 (patch)
tree9133ebb92a721ac901987d29602c1120c7c61523 /pkgs
parent945decaf6e089a31485e0d9c0fc9a26550d9d93d (diff)
parent89dcf2c639a45974161178284aa40d7c583b0610 (diff)
Merge pull request #197398 from cpcloud/fix-pybind11-python38
python38Packages.pybind11: fix build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pybind11/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix
index 241953cda3ed2..e97db8beefe0b 100644
--- a/pkgs/development/python-modules/pybind11/default.nix
+++ b/pkgs/development/python-modules/pybind11/default.nix
@@ -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;