about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-09-05 18:52:42 +0200
committerYureka <yuka@yuka.dev>2023-09-06 10:42:05 +0200
commit566f5fcd2daeccf1dfc102983fbc05952044b14c (patch)
tree08fc70a1181659af023db5c0c271c0d7734ec23b
parent848091ac538359d60164ed5faa2e9dffbb33752f (diff)
python3.pkgs.pybind11: disable fortify hardening on musl
-rw-r--r--pkgs/development/python-modules/pybind11/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix
index 7ba24e4bd5260..fe29cde9e5226 100644
--- a/pkgs/development/python-modules/pybind11/default.nix
+++ b/pkgs/development/python-modules/pybind11/default.nix
@@ -93,6 +93,8 @@ in buildPythonPackage rec {
     "test_cross_module_exception_translator"
   ];
 
+  hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "fortify";
+
   meta = with lib; {
     homepage = "https://github.com/pybind/pybind11";
     changelog = "https://github.com/pybind/pybind11/blob/${src.rev}/docs/changelog.rst";