From 0bf33f0e83d771f2ff819c543df2061a48e06d4d Mon Sep 17 00:00:00 2001 From: cidkidnix Date: Fri, 23 Sep 2022 14:50:09 -0500 Subject: [PATCH] bash: make android comment more clear --- pkgs/shells/bash/5.1.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix index d6ec8268ea68..05f7ba850b80 100644 --- a/pkgs/shells/bash/5.1.nix +++ b/pkgs/shells/bash/5.1.nix @@ -34,7 +34,8 @@ stdenv.mkDerivation rec { }; hardeningDisable = [ "format" ] - # https://android.googlesource.com/platform/bionic/+/1342527b5791a53bf441322ab9adf41c8e060a1e%5E2..1342527b5791a53bf441322ab9adf41c8e060a1e/ + # 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 ++ optional (stdenv.hostPlatform.libc == "bionic") "fortify"; outputs = [ "out" "dev" "man" "doc" "info" ];