3
0
Fork 0
forked from mirrors/nixpkgs

wezterm: fix darwin build

This commit is contained in:
Nikolay Mokrinsky 2023-05-21 06:26:30 +04:00
parent a0d5bf2564
commit 6a18e4b8a4
No known key found for this signature in database
GPG key ID: 73CC011921471A15
2 changed files with 5 additions and 1 deletions

View file

@ -22,6 +22,7 @@
, CoreGraphics
, Cocoa
, Foundation
, System
, libiconv
, UserNotifications
, nixosTests
@ -81,11 +82,14 @@ rustPlatform.buildRustPackage rec {
CoreGraphics
Foundation
libiconv
System
UserNotifications
];
buildFeatures = [ "distro-defaults" ];
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework System";
postInstall = ''
mkdir -p $out/nix-support
echo "${passthru.terminfo}" >> $out/nix-support/propagated-user-env-packages

View file

@ -2708,7 +2708,7 @@ with pkgs;
wayst = callPackage ../applications/terminal-emulators/wayst { };
wezterm = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/wezterm {
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa CoreGraphics Foundation UserNotifications;
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa CoreGraphics Foundation UserNotifications System;
};
x3270 = callPackage ../applications/terminal-emulators/x3270 { };