lol

ruff: fix on emulated x86_64-darwin

authored by

figsoda and committed by
zowoq
8440ec08 76741cfd

+6
+6
pkgs/development/tools/ruff/default.nix
··· 40 40 cargoBuildFlags = [ "--package=ruff_cli" ]; 41 41 cargoTestFlags = cargoBuildFlags; 42 42 43 + preBuild = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' 44 + # See https://github.com/jemalloc/jemalloc/issues/1997 45 + # Using a value of 48 should work on both emulated and native x86_64-darwin. 46 + export JEMALLOC_SYS_WITH_LG_VADDR=48 47 + ''; 48 + 43 49 postInstall = '' 44 50 installShellCompletion --cmd ruff \ 45 51 --bash <($out/bin/ruff generate-shell-completion bash) \