From 60fd853b38a6d84dbb5c35bf5b9d1dafad25faef Mon Sep 17 00:00:00 2001 From: David Wronek Date: Mon, 23 Mar 2026 07:24:48 +0100 Subject: [PATCH] rauthy: build against rust-jemalloc-sys-unprefixed Required to fix rauthy on ARM systems with a 16 KiB page size. rauthy uses unprefixed jemalloc: https://github.com/sebadob/rauthy/blob/v0.34.3/Cargo.toml#L132 Signed-off-by: David Wronek --- pkgs/by-name/ra/rauthy/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ra/rauthy/package.nix b/pkgs/by-name/ra/rauthy/package.nix index 4277dd469d50..0d154575efe4 100644 --- a/pkgs/by-name/ra/rauthy/package.nix +++ b/pkgs/by-name/ra/rauthy/package.nix @@ -11,6 +11,7 @@ wasm-bindgen-cli_0_2_108, binaryen, lld, + rust-jemalloc-sys-unprefixed, }: let version = "0.34.3"; @@ -98,6 +99,8 @@ rustPlatform.buildRustPackage (finalAttrs: { perl ]; + buildInputs = [ rust-jemalloc-sys-unprefixed ]; + preBuild = '' cp -r ${frontend}/lib/node_modules/frontend/dist/templates/html/ templates/html cp -r ${frontend}/lib/node_modules/frontend/dist/static/ static