about 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-24 08:24:15 -0600
committerSteven Sherry <steven.sherry@affinityforapps.com>2021-12-24 08:24:15 -0600
commitaa9c18ef075796f9418d0fbc5ab8630b56df39bc (patch)
tree6f514cd6911b69a0a64f7a30c2fdd22de1155206 /pkgs/tools/system/btop
parent536ef350651b3967652d786ece0830ab3d5a5093 (diff)
btop: Address initial pr review comments
Diffstat (limited to 'pkgs/tools/system/btop')
-rw-r--r--pkgs/tools/system/btop/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix
index f51b0362ac9c1..2c1534976dacb 100644
--- a/pkgs/tools/system/btop/default.nix
+++ b/pkgs/tools/system/btop/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
     lib.optionals stdenv.isDarwin [
       frameworks.CoreFoundation
       frameworks.IOKit
-    ] ++ lib.optional (stdenv.isDarwin && !stdenv.isAarch64) (
+    ] ++ lib.optional (stdenv.isDarwin && stdenv.isx86_64) (
       # Found this explanation for needing to create a header directory for libproc.h alone.
       # https://github.com/NixOS/nixpkgs/blob/049e5e93af9bbbe06b4c40fd001a4e138ce1d677/pkgs/development/libraries/webkitgtk/default.nix#L154
       # TL;DR, the other headers in the include path for the macOS SDK is not compatible with the C++ stdlib and causes issues, so we copy