Skip to content

Commit

Permalink
ruff: 0.6.5 -> 0.6.6 (NixOS#343192)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Sep 20, 2024
2 parents 5e5abe8 + 010dfa5 commit b8cca11
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 12 deletions.
104 changes: 101 additions & 3 deletions pkgs/by-name/ru/ruff/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions pkgs/by-name/ru/ruff/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

rustPlatform.buildRustPackage rec {
pname = "ruff";
version = "0.6.5";
version = "0.6.6";

src = fetchFromGitHub {
owner = "astral-sh";
repo = "ruff";
rev = "refs/tags/${version}";
hash = "sha256-1V95S0FWHzCxztgip+rbCjji4O71D+QdcSZ/hbABeKg=";
hash = "sha256-8EKOBlF6bgjgB5t3KP4AcWU7YkLaiFoAj+wuJWEOAic=";
};

cargoLock = {
Expand All @@ -31,13 +31,6 @@ rustPlatform.buildRustPackage rec {
};
};

# Revert the change made in https://github.com/astral-sh/ruff/pull/13299
# It was causing linking issues: https://github.com/NixOS/nixpkgs/pull/341674#issuecomment-2351172084
postPatch = ''
substituteInPlace crates/ruff_benchmark/Cargo.toml \
--replace-fail '"unprefixed_malloc_on_supported_platforms"' ' '
'';

nativeBuildInputs = [ installShellFiles ];

buildInputs = [
Expand Down

0 comments on commit b8cca11

Please sign in to comment.