diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 304924e55e97..d9950ba56618 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -16,18 +16,18 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ruff"; - version = "0.15.2"; + version = "0.15.3"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ruff"; tag = finalAttrs.version; - hash = "sha256-Mcero8doPndU3hAIU/bFA8Boc98okKc+hDfdz4slx5M="; + hash = "sha256-xeZk044anJ21uQwV3VN1QOvav+soYVdArpEw/rr8Xsw="; }; cargoBuildFlags = [ "--package=ruff" ]; - cargoHash = "sha256-3GCPejBOyLRZpanFrXHlaLWImMUEmoSejCazzG5sVfo="; + cargoHash = "sha256-16Ao1y0pFWxGjHkGi4VCIA9msvA5Tka8wvok8o3g6rc="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/development/python-modules/ruff/default.nix b/pkgs/development/python-modules/ruff/default.nix index d32d951c4aec..2322db869620 100644 --- a/pkgs/development/python-modules/ruff/default.nix +++ b/pkgs/development/python-modules/ruff/default.nix @@ -20,7 +20,7 @@ buildPythonPackage { # Do not rely on path lookup at runtime to find the ruff binary. # Use the propagated binary instead. '' - substituteInPlace python/ruff/__main__.py \ + substituteInPlace python/ruff/_find_ruff.py \ --replace-fail \ 'ruff_exe = "ruff" + sysconfig.get_config_var("EXE")' \ 'return "${lib.getExe ruff}"'