rust-analyzer-unwrapped: apple-sdk refactor
We don't need to define frameworks manually.
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user