From aa9c18ef075796f9418d0fbc5ab8630b56df39bc Mon Sep 17 00:00:00 2001 From: Steven Sherry Date: Fri, 24 Dec 2021 08:24:15 -0600 Subject: [PATCH] btop: Address initial pr review comments --- pkgs/tools/system/btop/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index f51b0362ac9c..2c1534976dac 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