diff options
author | cidkidnix <cidkidnix@protonmail.com> | 2022-09-29 08:51:21 -0500 |
---|---|---|
committer | cidkidnix <cidkidnix@protonmail.com> | 2022-09-29 08:51:21 -0500 |
commit | db31db7e84a0546882e92a4c4d47de286d2a476e (patch) | |
tree | 5703028e63aea3c5c2e2b68a0bce7e5054201097 /pkgs/shells/bash | |
parent | 0bf33f0e83d771f2ff819c543df2061a48e06d4d (diff) | |
download | nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.tar nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.tar.gz nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.tar.bz2 nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.tar.lz nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.tar.xz nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.tar.zst nixpkgs-db31db7e84a0546882e92a4c4d47de286d2a476e.zip |
bash: give bionic file with comment about "fortify"
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r-- | pkgs/shells/bash/5.1.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix index 05f7ba850b8..390dab12c94 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" ]; |