Unverified Commit 224daf06 authored by Theodore Ni's avatar Theodore Ni
Browse files

vrc-get: use new Darwin SDK pattern

parent d9cb907a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
{ 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.
+1 −3
Original line number Diff line number Diff line
@@ -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 {