cargo-risczero: nixfmt

This commit is contained in:
wxt 2024-11-06 12:30:49 +08:00
parent 7a32b49687
commit 8d9209e6d7
No known key found for this signature in database
GPG Key ID: F62181757D8BF693

View File

@ -1,10 +1,11 @@
{ lib
, stdenv
, fetchCrate
, rustPlatform
, pkg-config
, openssl
, darwin
{
lib,
stdenv,
fetchCrate,
rustPlatform,
pkg-config,
openssl,
darwin,
}:
rustPlatform.buildRustPackage rec {
@ -22,11 +23,13 @@ rustPlatform.buildRustPackage rec {
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
# The tests require network access which is not available in sandboxed Nix builds.
doCheck = false;