Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
862 B
Nix
32 lines
862 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
scx-common,
|
|
scx,
|
|
nixosTests,
|
|
}:
|
|
scx.cscheds.overrideAttrs (oldAttrs: {
|
|
pname = "scx_full";
|
|
postInstall = (oldAttrs.postInstall or "") + ''
|
|
cp ${scx.rustscheds}/bin/* ${placeholder "bin"}/bin/
|
|
'';
|
|
|
|
passthru.tests.basic = nixosTests.scx;
|
|
|
|
passthru.updateScript.command = ./update.sh;
|
|
|
|
meta = oldAttrs.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.
|
|
:::
|
|
'';
|
|
};
|
|
})
|