ruff: format

This commit is contained in:
Gaetan Lepage 2024-08-22 17:47:38 +02:00
parent 558293e209
commit c7e761e075

View File

@ -1,14 +1,15 @@
{ lib
, rustPlatform
, fetchFromGitHub
, installShellFiles
, stdenv
, darwin
, rust-jemalloc-sys
, ruff-lsp
, nix-update-script
, testers
, ruff
{
lib,
rustPlatform,
fetchFromGitHub,
installShellFiles,
stdenv,
darwin,
rust-jemalloc-sys,
ruff-lsp,
nix-update-script,
testers,
ruff,
}:
rustPlatform.buildRustPackage rec {
@ -30,15 +31,11 @@ rustPlatform.buildRustPackage rec {
};
};
nativeBuildInputs = [
installShellFiles
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [
rust-jemalloc-sys
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd ruff \