diff options
author | Steven Sherry <steven.sherry@affinityforapps.com> | 2021-12-29 17:13:02 -0600 |
---|---|---|
committer | Steven Sherry <steven.sherry@affinityforapps.com> | 2021-12-29 17:13:02 -0600 |
commit | 0aaf5768e5f664d6bbbe421bccf125e2316b246c (patch) | |
tree | aa723afe43815e1229f89d1ce9987b3f5703c373 | |
parent | aa9c18ef075796f9418d0fbc5ab8630b56df39bc (diff) |
btop: Remove gcc11 as a nativeBuildInput for darwin since gcc11Stdenv is
already set in all-packages.nix
-rw-r--r-- | pkgs/tools/system/btop/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index 2c1534976dacb..70b1a78586cf7 100644 --- a/pkgs/tools/system/btop/default.nix +++ b/pkgs/tools/system/btop/default.nix @@ -3,7 +3,6 @@ , fetchFromGitHub , runCommand , darwin -, gcc11 }: stdenv.mkDerivation rec { @@ -17,13 +16,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-uKR1ogQwEoyxyWBiLnW8BsOsYgTpeIpKrKspq0JwYjY="; }; - nativeBuildInputs = lib.optionals stdenv.isDarwin [ gcc11 ]; - hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; - ADDFLAGS = with darwin.apple_sdk; + ADDFLAGS = with darwin.apple_sdk.frameworks; lib.optional stdenv.isDarwin - "-F${frameworks.IOKit}/Library/Frameworks/"; + "-F${IOKit}/Library/Frameworks/"; buildInputs = with darwin.apple_sdk; lib.optionals stdenv.isDarwin [ |