diff options
author | Austin Horstman <khaneliman12@gmail.com> | 2023-12-25 20:35:07 -0600 |
---|---|---|
committer | Austin Horstman <khaneliman12@gmail.com> | 2023-12-25 20:49:38 -0600 |
commit | 807ddcc02c004ff230468f8d06bd2572a8850dd8 (patch) | |
tree | 43735665ec51be46f5c5cf42c74567c2252e8c67 /pkgs/tools | |
parent | 12b40cf56ca5d849f49ac8e7a4c7915a3b3922c3 (diff) |
fastfetch: fix darwin x86
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/fastfetch/default.nix | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/pkgs/tools/misc/fastfetch/default.nix b/pkgs/tools/misc/fastfetch/default.nix index f5d60620a6527..c8658994706a5 100644 --- a/pkgs/tools/misc/fastfetch/default.nix +++ b/pkgs/tools/misc/fastfetch/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , chafa , cmake +, darwin , dbus , dconf , ddcutil @@ -27,18 +28,6 @@ , xfce , yyjson , zlib -, Apple80211 -, AppKit -, Cocoa -, CoreDisplay -, CoreVideo -, CoreWLAN -, DisplayServices -, Foundation -, IOBluetooth -, MediaRemote -, OpenCL -, moltenvk }: stdenv.mkDerivation (finalAttrs: { @@ -83,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { xfce.xfconf zlib ] - ++ lib.optionals stdenv.isDarwin [ + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [ Apple80211 AppKit Cocoa @@ -91,12 +80,12 @@ stdenv.mkDerivation (finalAttrs: { CoreVideo CoreWLAN DisplayServices - Foundation IOBluetooth MediaRemote OpenCL - moltenvk - ]; + SystemConfiguration + darwin.moltenvk + ]); cmakeFlags = [ "-DCMAKE_INSTALL_SYSCONFDIR=${placeholder "out"}/etc" |