Unverified Commit 4e6fffab authored by Theodore Ni's avatar Theodore Ni
Browse files

neovide: unbreak on x86_64-darwin by using 11.3 SDK

parent b0640851
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
, pkg-config
, python3
, removeReferencesTo
, apple-sdk_11
, cctools
, SDL2
, fontconfig
@@ -74,7 +75,7 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
    SDL2
    fontconfig
    rustPlatform.bindgenHook
  ];
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];

  postFixup = let
    libPath = lib.makeLibraryPath ([
@@ -116,6 +117,6 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
    changelog = "https://github.com/neovide/neovide/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ ck3d ];
    platforms = platforms.linux ++ [ "aarch64-darwin" ];
    platforms = platforms.unix;
  };
}