From 224daf06cacf2bb6997bb9c1126fc84a2b5c372a Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 10 Nov 2024 21:35:19 -0800 Subject: [PATCH] vrc-get: use new Darwin SDK pattern --- pkgs/tools/misc/vrc-get/default.nix | 4 +--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/vrc-get/default.nix b/pkgs/tools/misc/vrc-get/default.nix index f0d72de83d04..e622d4534adb 100644 --- a/pkgs/tools/misc/vrc-get/default.nix +++ b/pkgs/tools/misc/vrc-get/default.nix @@ -1,4 +1,4 @@ -{ fetchCrate, installShellFiles, lib, rustPlatform, pkg-config, stdenv, Security, SystemConfiguration, buildPackages }: +{ fetchCrate, installShellFiles, lib, rustPlatform, pkg-config, stdenv, buildPackages }: rustPlatform.buildRustPackage rec { pname = "vrc-get"; @@ -11,8 +11,6 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles pkg-config ]; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ]; - cargoHash = "sha256-uPx9sujuvBp6wJzzqVlS8Rq1S9Cb2su9/gp4pnNJ9zQ="; # Execute the resulting binary to generate shell completions, using emulation if necessary when cross-compiling. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8cebad838ef1..b570aaeabf9a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1117,9 +1117,7 @@ with pkgs; vprof = with python3Packages; toPythonApplication vprof; - vrc-get = callPackage ../tools/misc/vrc-get { - inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; - }; + vrc-get = callPackage ../tools/misc/vrc-get { }; winbox = winbox3; winbox3 = callPackage ../tools/admin/winbox {