From 08ccdcbc9c6cbfa5b88ddb65d0a3c51a627a54b2 Mon Sep 17 00:00:00 2001 From: fortuneteller2k Date: Sat, 6 Aug 2022 10:09:30 +0000 Subject: [PATCH] wezterm: use apple_sdk_11_0 --- pkgs/applications/terminal-emulators/wezterm/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/terminal-emulators/wezterm/default.nix b/pkgs/applications/terminal-emulators/wezterm/default.nix index 4fed03db0dd0..7a39a487e5f8 100644 --- a/pkgs/applications/terminal-emulators/wezterm/default.nix +++ b/pkgs/applications/terminal-emulators/wezterm/default.nix @@ -22,6 +22,7 @@ , Cocoa , Foundation , libiconv +, UserNotifications , nixosTests , runCommand }: @@ -71,6 +72,7 @@ rustPlatform.buildRustPackage rec { CoreGraphics Foundation libiconv + UserNotifications ]; postInstall = '' @@ -119,7 +121,5 @@ rustPlatform.buildRustPackage rec { license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; platforms = platforms.unix; - # Fails on missing UserNotifications framework while linking - broken = stdenv.isDarwin; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a8d8fec0b5f8..46efeea98205 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1788,8 +1788,8 @@ with pkgs; wayst = callPackage ../applications/terminal-emulators/wayst { }; - wezterm = callPackage ../applications/terminal-emulators/wezterm { - inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation; + wezterm = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/wezterm { + inherit (darwin.apple_sdk_11_0.frameworks) Cocoa CoreGraphics Foundation UserNotifications; }; x3270 = callPackage ../applications/terminal-emulators/x3270 { };