From 2870a5e506c82e538e591e96bd1f1f6c8aafd6c1 Mon Sep 17 00:00:00 2001 From: Dylan Green <67574902+cidkidnix@users.noreply.github.com> Date: Fri, 23 Sep 2022 14:07:04 -0500 Subject: [PATCH] match libc, instead of useAndroidPrebuilt Co-authored-by: John Ericson --- pkgs/shells/bash/5.1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix index c0b7d87e71c8..d6ec8268ea68 100644 --- a/pkgs/shells/bash/5.1.nix +++ b/pkgs/shells/bash/5.1.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ] # https://android.googlesource.com/platform/bionic/+/1342527b5791a53bf441322ab9adf41c8e060a1e%5E2..1342527b5791a53bf441322ab9adf41c8e060a1e/ - ++ optional (stdenv.hostPlatform.useAndroidPrebuilt or false) "fortify"; + ++ optional (stdenv.hostPlatform.libc == "bionic") "fortify"; outputs = [ "out" "dev" "man" "doc" "info" ];