mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
scx.cscheds: split into multiple outputs
Copy the compiled headers of bpftool and libbpf to dev output As they will be needed in rust schedulers
This commit is contained in:
parent
d285c731ed
commit
b51fd13e16
@ -101,6 +101,17 @@ mkScxScheduler "c" {
|
||||
"stackprotector"
|
||||
];
|
||||
|
||||
# We copy the compiled header files to the dev output
|
||||
# These are needed for the rust schedulers
|
||||
preInstall = ''
|
||||
mkdir -p ${placeholder "dev"}/libbpf
|
||||
mkdir -p ${placeholder "dev"}/bpftool
|
||||
cp -r libbpf/* ${placeholder "dev"}/libbpf/
|
||||
cp -r bpftool/* ${placeholder "dev"}/bpftool/
|
||||
'';
|
||||
|
||||
outputs = [ "bin" "dev" "out" ];
|
||||
|
||||
meta = {
|
||||
description = "Sched-ext C userspace schedulers";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user