Skip to content

Commit

Permalink
scx_git.full: just inherit the pname, meta from scx.full
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Nov 3, 2024
1 parent ac28a9a commit 503c8d4
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions pkgs/scx-git/full.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ lib
, final
,
, scx
}:
final.scx_git.cscheds.overrideAttrs (oldAttrs: {
pname = "scx_full";
inherit (scx.full) pname meta;

postInstall =
(oldAttrs.postInstall or "")
+ ''
Expand All @@ -14,13 +15,4 @@ final.scx_git.cscheds.overrideAttrs (oldAttrs: {
cp ${lib.getExe final.scx_git.rustland} $out/bin/
cp ${lib.getExe final.scx_git.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.
'';
};
})

0 comments on commit 503c8d4

Please sign in to comment.