From db31db7e84a0546882e92a4c4d47de286d2a476e Mon Sep 17 00:00:00 2001 From: cidkidnix Date: Thu, 29 Sep 2022 08:51:21 -0500 Subject: [PATCH] bash: give bionic file with comment about "fortify" --- pkgs/shells/bash/5.1.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix index 05f7ba850b80..390dab12c947 100644 --- a/pkgs/shells/bash/5.1.nix +++ b/pkgs/shells/bash/5.1.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ] # bionic libc is super weird and has issues with fortify outside of its own libc, check this comment: # https://github.com/NixOS/nixpkgs/pull/192630#discussion_r978985593 + # or you can check libc/include/sys/cdefs.h in bionic source code ++ optional (stdenv.hostPlatform.libc == "bionic") "fortify"; outputs = [ "out" "dev" "man" "doc" "info" ];