wezterm: clean up old Darwin SDK pattern
This commit is contained in:
@@ -20,12 +20,6 @@
|
||||
xcbutilwm,
|
||||
wayland,
|
||||
zlib,
|
||||
CoreGraphics,
|
||||
Cocoa,
|
||||
Foundation,
|
||||
System,
|
||||
libiconv,
|
||||
UserNotifications,
|
||||
nixosTests,
|
||||
runCommand,
|
||||
vulkan-loader,
|
||||
@@ -104,20 +98,10 @@ rustPlatform.buildRustPackage rec {
|
||||
xcbutilimage
|
||||
xcbutilkeysyms
|
||||
xcbutilwm # contains xcb-ewmh among others
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Cocoa
|
||||
CoreGraphics
|
||||
Foundation
|
||||
libiconv
|
||||
System
|
||||
UserNotifications
|
||||
];
|
||||
|
||||
buildFeatures = [ "distro-defaults" ];
|
||||
|
||||
env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework System";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
echo "${passthru.terminfo}" >> $out/nix-support/propagated-user-env-packages
|
||||
|
||||
@@ -1583,9 +1583,7 @@ with pkgs;
|
||||
};
|
||||
termite-unwrapped = callPackage ../applications/terminal-emulators/termite { };
|
||||
|
||||
wezterm = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/wezterm {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa CoreGraphics Foundation UserNotifications System;
|
||||
};
|
||||
wezterm = callPackage ../applications/terminal-emulators/wezterm { };
|
||||
|
||||
twine = with python3Packages; toPythonApplication twine;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user