From aa9b769451c5b65751b4ae6351030e9b34ebd0af Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 4 Sep 2022 13:21:38 -0700 Subject: [PATCH] btop: reenable stackprotector on aarch64-darwin The original error that required disabling the stack protector on aarch64-darwin has been fixed in GCC. --- pkgs/tools/system/btop/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index 8c2c248fc97e..092163f68c77 100644 --- a/pkgs/tools/system/btop/default.nix +++ b/pkgs/tools/system/btop/default.nix @@ -18,8 +18,6 @@ stdenv.mkDerivation rec { sha256 = hash; }; - hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; - ADDFLAGS = with darwin.apple_sdk.frameworks; lib.optional stdenv.isDarwin "-F${IOKit}/Library/Frameworks/";