lapce: unbreak x86_64-darwin
This commit is contained in:
parent
adaa8dade5
commit
896db32853
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user