Commit 60fd853b authored by David Wronek's avatar David Wronek
Browse files

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: default avatarDavid Wronek <david.wronek@mainlining.org>
parent 28cb8469
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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