nix: fix jemalloc on 16k pages#1759
Conversation
|
Would it make sense to only include |
Idk tbh, I was basing myself from patches sent to nixpkgs upstream and how they deal with it I'm happy to experiment tho |
|
Yeah, that'd be great! |
You can't really do that it in packages Maybe a flag that can enable it and so you have 2 builds? Or you could check if the platform is aarch64 and only include it on that as it seems the only platform where pages can be different from 4k |
|
Yeah, looks like there's some work on implementing it: NixOS/nix#12446 Checking if the system is aarch64 works for me for now. I'll revisit this when support has been added upstream for checking the page size |
Yeah support in needed in the nix core, so until then...
Perfect, I will update the PR then
I will look into the PR later, but it seems to me like it's something that needs also to be dealt even for older versions of nix |
includes update to fenix inputs flake
|
Thanks! |
update
fenixinput flake and addrust-jemalloc-systobuildInputsto support 16k pages (like on asahi linux)