lapce: unbreak x86_64-darwin

This commit is contained in:
Olivér Falvai 2024-11-08 20:16:04 +01:00
parent adaa8dade5
commit 896db32853
No known key found for this signature in database
2 changed files with 2 additions and 13 deletions

View File

@ -14,15 +14,11 @@
, libGL
, libobjc
, libxkbcommon
, Security
, CoreServices
, ApplicationServices
, Carbon
, AppKit
, wrapGAppsHook3
, wayland
, gobject-introspection
, xorg
, apple-sdk_11
}:
let
rpathLibs = lib.optionals stdenv.hostPlatform.isLinux [
@ -93,11 +89,7 @@ rustPlatform.buildRustPackage rec {
fontconfig
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
libobjc
Security
CoreServices
ApplicationServices
Carbon
AppKit
apple-sdk_11
];
postInstall = if stdenv.hostPlatform.isLinux then ''
@ -124,7 +116,5 @@ rustPlatform.buildRustPackage rec {
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ elliot ];
mainProgram = "lapce";
# Undefined symbols for architecture x86_64: "_NSPasteboardTypeFileURL"
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
};
}

View File

@ -5293,7 +5293,6 @@ with pkgs;
lapce = callPackage ../applications/editors/lapce {
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) Security CoreServices ApplicationServices Carbon AppKit;
};
lcdproc = callPackage ../servers/monitoring/lcdproc { };