Unverified Commit b0640851 authored by Theodore Ni's avatar Theodore Ni
Browse files

neovide: use new Darwin SDK pattern

parent 6e1f5c99
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -13,12 +13,10 @@
, python3
, removeReferencesTo
, cctools
, xcbuild
, SDL2
, fontconfig
, xorg
, stdenv
, darwin
, libglvnd
, libxkbcommon
, enableWayland ? stdenv.hostPlatform.isLinux
@@ -68,7 +66,7 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
    pkg-config
    python3 # skia
    removeReferencesTo
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild ];
  ];

  nativeCheckInputs = [ neovim ];

@@ -76,8 +74,6 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
    SDL2
    fontconfig
    rustPlatform.bindgenHook
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
    darwin.apple_sdk.frameworks.AppKit
  ];

  postFixup = let