From 8d9209e6d7ccbb37458a5304a8e840c18c445f04 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Wed, 6 Nov 2024 12:30:49 +0800 Subject: [PATCH] cargo-risczero: nixfmt --- pkgs/by-name/ca/cargo-risczero/package.nix | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ca/cargo-risczero/package.nix b/pkgs/by-name/ca/cargo-risczero/package.nix index bf61c32cf778..b453cff8fc5e 100644 --- a/pkgs/by-name/ca/cargo-risczero/package.nix +++ b/pkgs/by-name/ca/cargo-risczero/package.nix @@ -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;