From 8e6d31c9c9b9054359739b83f630b4aad637e0b6 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 9 Jul 2023 18:37:08 +0100 Subject: [PATCH] mympd: disable fortify3 hardening flag --- pkgs/applications/audio/mympd/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/mympd/default.nix b/pkgs/applications/audio/mympd/default.nix index 06d241988864..5d2030b6385b 100644 --- a/pkgs/applications/audio/mympd/default.nix +++ b/pkgs/applications/audio/mympd/default.nix @@ -51,8 +51,12 @@ stdenv.mkDerivation rec { # similarly here "-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd" ]; - # See https://github.com/jcorporation/myMPD/issues/315 - hardeningDisable = [ "strictoverflow" ]; + hardeningDisable = [ + # See https://github.com/jcorporation/myMPD/issues/315 + "strictoverflow" + # causes redefinition of _FORTIFY_SOURCE + "fortify3" + ]; meta = { homepage = "https://jcorporation.github.io/myMPD";