vrc-get: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 21:35:19 -08:00
parent d9cb907af4
commit 224daf06ca
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 2 additions and 6 deletions

View File

@ -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.

View File

@ -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 {