Loading pkgs/by-name/ru/ruff/package.nix +14 −17 Original line number Diff line number Diff line { 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 { Loading @@ -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 \ Loading Loading
pkgs/by-name/ru/ruff/package.nix +14 −17 Original line number Diff line number Diff line { 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 { Loading @@ -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 \ Loading