From 445c385bc560213ee0a48346031c66c8ffa10a74 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 9 Jul 2023 18:48:20 +0100 Subject: [PATCH] yubihsm-shell: disable fortify3 hardening flag --- pkgs/tools/security/yubihsm-shell/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/yubihsm-shell/default.nix b/pkgs/tools/security/yubihsm-shell/default.nix index 77b6b86ffd6..650224dd03b 100644 --- a/pkgs/tools/security/yubihsm-shell/default.nix +++ b/pkgs/tools/security/yubihsm-shell/default.nix @@ -58,6 +58,9 @@ stdenv.mkDerivation rec { "-DDISABLE_LTO=ON" ]; + # causes redefinition of _FORTIFY_SOURCE + hardeningDisable = [ "fortify3" ]; + meta = with lib; { description = "yubihsm-shell and libyubihsm"; homepage = "https://github.com/Yubico/yubihsm-shell";