Skip to content

Commit 896db32

Browse files
committed
lapce: unbreak x86_64-darwin
1 parent adaa8da commit 896db32

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

pkgs/applications/editors/lapce/default.nix

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@
1414
, libGL
1515
, libobjc
1616
, libxkbcommon
17-
, Security
18-
, CoreServices
19-
, ApplicationServices
20-
, Carbon
21-
, AppKit
2217
, wrapGAppsHook3
2318
, wayland
2419
, gobject-introspection
2520
, xorg
21+
, apple-sdk_11
2622
}:
2723
let
2824
rpathLibs = lib.optionals stdenv.hostPlatform.isLinux [
@@ -93,11 +89,7 @@ rustPlatform.buildRustPackage rec {
9389
fontconfig
9490
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
9591
libobjc
96-
Security
97-
CoreServices
98-
ApplicationServices
99-
Carbon
100-
AppKit
92+
apple-sdk_11
10193
];
10294

10395
postInstall = if stdenv.hostPlatform.isLinux then ''
@@ -124,7 +116,5 @@ rustPlatform.buildRustPackage rec {
124116
license = with licenses; [ asl20 ];
125117
maintainers = with maintainers; [ elliot ];
126118
mainProgram = "lapce";
127-
# Undefined symbols for architecture x86_64: "_NSPasteboardTypeFileURL"
128-
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
129119
};
130120
}

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5293,7 +5293,6 @@ with pkgs;
52935293

52945294
lapce = callPackage ../applications/editors/lapce {
52955295
inherit (darwin) libobjc;
5296-
inherit (darwin.apple_sdk.frameworks) Security CoreServices ApplicationServices Carbon AppKit;
52975296
};
52985297

52995298
lcdproc = callPackage ../servers/monitoring/lcdproc { };

0 commit comments

Comments
 (0)