From c7e761e07577340be5d8c009162681917ed10fb9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 22 Aug 2024 17:47:38 +0200 Subject: [PATCH] ruff: format --- pkgs/by-name/ru/ruff/package.nix | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 9616a9cb9bba..279b01ce637f 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -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 \