Skip to content

Commit

Permalink
rubyfmt: Use system jemalloc (NixOS#304087)
Browse files Browse the repository at this point in the history
jemalloc-sys hardcodes the build system's pagesize (NixOS#202863), making it
incompatible with systems that don't have the standard 4k page size
(such as Asahi Linux).
  • Loading branch information
refi64 authored and florian-sanders-cc committed Jun 6, 2024
1 parent d354d91 commit d04a84e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/tools/rubyfmt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
, libunwind
, libxcrypt
, libyaml
, rust-jemalloc-sys-unprefixed
, Foundation
, Security
}:
Expand Down Expand Up @@ -40,6 +41,7 @@ rustPlatform.buildRustPackage rec {
zlib
libxcrypt
libyaml
rust-jemalloc-sys-unprefixed
] ++ lib.optionals stdenv.isDarwin [
readline
libiconv
Expand Down

0 comments on commit d04a84e

Please sign in to comment.