btop: Remove gcc11 as a nativeBuildInput for darwin since gcc11Stdenv is

already set in all-packages.nix
This commit is contained in:
Steven Sherry 2021-12-29 17:13:02 -06:00
parent aa9c18ef07
commit 0aaf5768e5
No known key found for this signature in database
GPG Key ID: 5BE85414B74F99B1

View File

@ -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 [