rust-analyzer-unwrapped: apple-sdk refactor

We don't need to define frameworks manually.

+1 -6
-3
pkgs/development/tools/rust/rust-analyzer/default.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - callPackage, 5 4 fetchFromGitHub, 6 5 rustPlatform, 7 - CoreServices, 8 6 cmake, 9 7 libiconv, 10 8 useMimalloc ? false, ··· 44 42 nativeBuildInputs = lib.optional useMimalloc cmake; 45 43 46 44 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ 47 - CoreServices 48 45 libiconv 49 46 ]; 50 47
+1 -3
pkgs/top-level/all-packages.nix
··· 7081 7081 opensyclWithRocm = opensycl.override { rocmSupport = true; }; 7082 7082 7083 7083 rustfmt = rustPackages.rustfmt; 7084 - rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer { 7085 - inherit (darwin.apple_sdk.frameworks) CoreServices; 7086 - }; 7084 + rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer { }; 7087 7085 rust-analyzer = callPackage ../development/tools/rust/rust-analyzer/wrapper.nix { }; 7088 7086 rust-bindgen-unwrapped = callPackage ../development/tools/rust/bindgen/unwrapped.nix { }; 7089 7087 rust-bindgen = callPackage ../development/tools/rust/bindgen { };