File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1717
1818rustPlatform . buildRustPackage ( finalAttrs : {
1919 pname = "ruff" ;
20- version = "0.11.1 " ;
20+ version = "0.11.2 " ;
2121
2222 src = fetchFromGitHub {
2323 owner = "astral-sh" ;
2424 repo = "ruff" ;
2525 tag = finalAttrs . version ;
26- hash = "sha256-uouy47Lzrrht3wBUiQePW7x6QJfpIce9ny/p6HNwCNY =" ;
26+ hash = "sha256-/K6+zze5d0RAE7/Nalnmx9qKHI1rPDeh3OkTatgP5Q4 =" ;
2727 } ;
2828
2929 useFetchCargoVendor = true ;
30- cargoHash = "sha256-EaMNkliJmeKwxrnlK+aCFGvzbvVIjS0qHc9h9z9m47I =" ;
30+ cargoHash = "sha256-uDuR7GF3918V6ssx4p64pOzCRlLl2vJR0FEBSUnlFQ8 =" ;
3131
3232 nativeBuildInputs = [ installShellFiles ] ;
3333
3434 buildInputs = [
3535 rust-jemalloc-sys
3636 ] ;
3737
38- postInstall =
38+ postInstall = lib . optionalString ( stdenv . hostPlatform . emulatorAvailable buildPackages ) (
3939 let
4040 emulator = stdenv . hostPlatform . emulator buildPackages ;
4141 in
@@ -44,7 +44,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
4444 --bash <(${ emulator } $out/bin/ruff generate-shell-completion bash) \
4545 --fish <(${ emulator } $out/bin/ruff generate-shell-completion fish) \
4646 --zsh <(${ emulator } $out/bin/ruff generate-shell-completion zsh)
47- '' ;
47+ ''
48+ ) ;
4849
4950 # Run cargo tests
5051 checkType = "debug" ;
You can’t perform that action at this time.
0 commit comments