Files
nixpkgs/pkgs/os-specific/linux/scx/scx_full.nix
K900 74351cafa5 scx: big scheduler list cleanup
- pull schedulers from the package definition
- actually check we have the right lists at build time
- make scx.full a simple buildEnv to not have to deal with
  the checks being different
2026-03-18 09:55:24 +03:00

31 lines
798 B
Nix

{
buildEnv,
scx,
}:
buildEnv {
pname = "scx_full";
inherit (scx.rustscheds) version;
paths = [
scx.cscheds
scx.rustscheds
];
passthru.schedulers = scx.cscheds.schedulers ++ scx.rustscheds.schedulers;
meta = {
description = "Sched-ext C and Rust userspace schedulers";
longDescription = ''
This includes C based schedulers such as scx_central, scx_flatcg,
scx_pair, scx_qmap, scx_simple, scx_userland and Rust based schedulers
like scx_rustland, scx_bpfland, scx_lavd, scx_layered, scx_rlfifo.
::: {.note}
Sched-ext schedulers are only available on kernels version 6.12 or later.
It is recommended to use the latest kernel for the best compatibility.
:::
'';
homepage = "https://github.com/sched-ext/scx";
};
}