From 566f5fcd2daeccf1dfc102983fbc05952044b14c Mon Sep 17 00:00:00 2001 From: Yureka Date: Tue, 5 Sep 2023 18:52:42 +0200 Subject: [PATCH] python3.pkgs.pybind11: disable fortify hardening on musl --- pkgs/development/python-modules/pybind11/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 7ba24e4bd526..fe29cde9e522 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";