vrc-get: use new Darwin SDK pattern
This commit is contained in:
parent
d9cb907af4
commit
224daf06ca
@ -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.
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user