Commit b1840e41 authored by Sarah Clark's avatar Sarah Clark
Browse files

biome: migrate to new apple sdk structure

parent 852656d6
Loading
Loading
Loading
Loading
+7 −17
Original line number Diff line number Diff line
@@ -6,8 +6,6 @@
  libgit2,
  rust-jemalloc-sys,
  zlib,
  stdenv,
  darwin,
  git,
}:
rustPlatform.buildRustPackage rec {
@@ -23,23 +21,15 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-4vITbsXfgNFoeWMHz7a9Rk7FrsEZRe75nHiyHSMujEQ=";

  nativeBuildInputs = [
    pkg-config
  ];
  nativeBuildInputs = [ pkg-config ];

  buildInputs =
    [
  buildInputs = [
    libgit2
    rust-jemalloc-sys
    zlib
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.Security
  ];

  nativeCheckInputs = [
    git
  ];
  nativeCheckInputs = [ git ];

  cargoBuildFlags = [ "-p=biome_cli" ];
  cargoTestFlags =