nixpkgs/pkgs/os-specific/linux/scx/scx_full.nix
John Titor 9aa0062f82
scx.cscheds: fix typo in name
I don't think we need a alias here, as it has been unstable for a few days.

If anyone thinks we should, I am happy to do so.
2024-11-01 13:36:56 +05:30

29 lines
794 B
Nix

{
stdenv,
lib,
scx,
mkScxScheduler,
}:
scx.cscheds.overrideAttrs (oldAttrs: {
pname = "scx_full";
postInstall =
(oldAttrs.postInstall or "")
+ ''
cp ${lib.getExe scx.bpfland} $out/bin/
cp ${lib.getExe scx.lavd} $out/bin/
cp ${lib.getExe scx.layered} $out/bin/
cp ${lib.getExe scx.rlfifo} $out/bin/
cp ${lib.getExe scx.rustland} $out/bin/
cp ${lib.getExe scx.rusty} $out/bin/
'';
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.
'';
};
})