rust-analyzer-unwrapped: apple-sdk refactor

We don't need to define frameworks manually.
This commit is contained in:
Austin Horstman
2024-11-16 16:46:05 -06:00
parent b9074ee12a
commit 2f9cef5a5e
2 changed files with 1 additions and 6 deletions
@@ -1,10 +1,8 @@
{
lib,
stdenv,
callPackage,
fetchFromGitHub,
rustPlatform,
CoreServices,
cmake,
libiconv,
useMimalloc ? false,
@@ -44,7 +42,6 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = lib.optional useMimalloc cmake;
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
CoreServices
libiconv
];
+1 -3
View File
@@ -7081,9 +7081,7 @@ with pkgs;
opensyclWithRocm = opensycl.override { rocmSupport = true; };
rustfmt = rustPackages.rustfmt;
rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer { };
rust-analyzer = callPackage ../development/tools/rust/rust-analyzer/wrapper.nix { };
rust-bindgen-unwrapped = callPackage ../development/tools/rust/bindgen/unwrapped.nix { };
rust-bindgen = callPackage ../development/tools/rust/bindgen { };