summary refs log tree commit diff
path: root/pkgs/tools/system/btop
diff options
context:
space:
mode:
authorSteven Sherry <steven.sherry@affinityforapps.com>2021-12-29 17:13:02 -0600
committerSteven Sherry <steven.sherry@affinityforapps.com>2021-12-29 17:13:02 -0600
commit0aaf5768e5f664d6bbbe421bccf125e2316b246c (patch)
treeaa723afe43815e1229f89d1ce9987b3f5703c373 /pkgs/tools/system/btop
parentaa9c18ef075796f9418d0fbc5ab8630b56df39bc (diff)
downloadnixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.tar
nixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.tar.gz
nixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.tar.bz2
nixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.tar.lz
nixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.tar.xz
nixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.tar.zst
nixpkgs-0aaf5768e5f664d6bbbe421bccf125e2316b246c.zip
btop: Remove gcc11 as a nativeBuildInput for darwin since gcc11Stdenv is
already set in all-packages.nix
Diffstat (limited to 'pkgs/tools/system/btop')
-rw-r--r--pkgs/tools/system/btop/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix
index 2c1534976da..70b1a78586c 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 [