Stefan Frijters
a9deaa4beb
scx.rustscheds: move EXPECTED_SCHEDULERS into env
2026-07-07 15:09:16 +02:00
Stefan Frijters
303f1e6e53
scx.cscheds: move EXPECTED_SCHEDULERS into env
2026-07-07 15:09:06 +02:00
Gliczy
dfd5b26b41
scx.rustscheds: 1.1.1 -> 1.1.2
2026-07-04 12:33:05 +02:00
Yuxuan Shui
9d010c79c3
scx.rustscheds: aarch64-linux is good
2026-06-06 15:03:30 +01:00
K900
520c7a1e49
Revert "scx.cscheds: move env variable into env for structuredAttrs"
2026-05-26 12:19:21 +03:00
Sigmanificient
fb024fd107
scx.cscheds: move env variable into env for structuredAttrs
2026-05-25 18:29:33 +02:00
Gliczy
291bc9457b
scx.rustscheds: 1.1.0 -> 1.1.1
2026-05-15 15:07:10 +02:00
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
K900
748361e001
scx: split C and Rust versions, Rust 1.0.20 -> 1.1.0, C 1.0.20 -> unstable
2026-03-17 09:47:37 +03:00
Gliczy
a35624e0b3
scx.full: 1.0.19 -> 1.0.20
2026-02-07 15:03:57 +01:00
Gliczy
c1b04b6786
scx.full: 1.0.18 -> 1.0.19
2025-12-04 03:04:15 +01:00
R. Ryantm
f3e6bd35e2
scx.rustscheds: 1.0.17 -> 1.0.18
2025-11-15 04:54:20 +00:00
John Titor
cac05349d4
scx: update homepage link
2025-10-21 16:51:48 +05:30
John Titor
286aa47c06
scx: remove need for custom update script
...
nix-shell maintainers/scripts/update.nix --argstr package scx.rustscheds
Should be ran from now on
2025-10-21 16:47:10 +05:30
John Titor
68f2d23b9a
scx.cscheds: switch to make packaging
...
Upstream deprecated meson builds.
This also switches libbpf and bpftool dependencies to nixpkgs provided ones.
Please report if this causes any issues.
2025-10-20 10:53:26 +05:30
R. Ryantm
f4a3704c03
scx.full: 1.0.16 -> 1.0.17
2025-10-10 04:38:06 +00:00
John Titor
0b14bcb362
scx.cscheds: patch build_bpftool meson script explicitly
...
Turns out ./patchShebangs wasn't doing its job properly.
This was verified after running `patchShebangs ./meson-scripts`
and then `cat ./meson-scripts/build_bpftool`
2025-09-11 23:37:09 +05:30
R. Ryantm
6dddf8cc3d
scx.full: 1.0.15 -> 1.0.16
2025-09-09 15:35:53 +00:00
John Titor
079b7a006c
scx.rustscheds: restore RUSTFLAGS
...
Per 059ce35c31/meson.build (L347-L349)
but linking libbpf is not required, built in rust one should work fine.
See 8ec509cc13 (r2302122465) and https://github.com/sched-ext/scx/pull/2592
2025-08-28 13:51:20 +05:30
Gliczy
3504949759
scx.full: 1.0.14 -> 1.0.15
2025-08-28 13:51:20 +05:30
Stzx
594f4924de
scx.cscheds: direct use of bash
2025-08-26 14:47:42 +05:30
TomaSajt
398b16e16c
treewide: remove useFetchCargoVendor usages
2025-07-26 11:39:35 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0
2025-07-24 13:55:40 +02:00
John Titor
a15f79a5d2
scx.cscheds: fix build
...
by doing this in postFixup, we hopefully don't create a cycle
here obviously this is a dirty fix, but better solutions can be
thought later
Closes https://github.com/NixOS/nixpkgs/issues/425498
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2025-07-16 15:09:00 +05:30
Gliczy
ff86cbb5c2
scx.full: 1.0.13 -> 1.0.14
2025-07-16 15:09:00 +05:30
John Titor
3c56f047e0
scx.full: src.rev -> src.tag
...
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2025-06-13 18:52:46 +05:30
Gliczy
5a6239e8c4
scx: add myself as maintainer
2025-06-13 18:52:46 +05:30
Gliczy
d662e65bfc
scx.full: enable doCheck
2025-06-13 18:52:46 +05:30
Gliczy
74e8d625c1
scx.full: 1.0.12 -> 1.0.13
2025-06-13 18:52:46 +05:30
Gliczy
6c2e919de4
scx.full: 1.0.11 -> 1.0.12 ( #406124 )
...
remove unused `fetchpatch2`
2025-05-11 17:32:19 +05:30
Masum Reza
800908cd55
nixosTests.scx: init ( #401972 )
...
For now, test only the useful schedulers, there's no need to test all of them.
Co-authored-by: Gliczy <129636582+Gliczy@users.noreply.github.com >
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2025-05-01 12:14:55 +05:30
Sean Behan
04a149234c
scx: 1.0.10 -> 1.0.11
2025-04-03 17:21:09 +05:30
John Titor
daa638c9db
scx.full: 1.0.9 -> 1.0.10
...
add upstream patches to fix issue with scx_lavd (https://github.com/sched-ext/scx/issues/1482 )
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2025-03-10 15:21:59 +05:30
Peder Bergebakken Sundt
5aba99242e
treewide: fix typos in comments
...
Made with
```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
typos --no-check-filenames --write-changes "$1"
git diff --exit-code "$1" && exit
#( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
[[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```
and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`
I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
John Titor
da2615649f
scx.full: don't build on aarch64-linux
...
As per https://github.com/NixOS/nixpkgs/pull/381138#issuecomment-2653368487
scx releases often breaks building on aarch64-linux, and besides the package
does not seem to have proper support for this platform
This reverts commit 0f40303097 .
This can be reverted again if we feel upstream has improved its aarch64-linux support.
Link: https://github.com/sched-ext/scx/issues/1320
2025-02-15 16:45:58 +05:30
John Titor
0babef382e
scx.full: 1.0.8 -> 1.0.9
...
Changelog: https://github.com/sched-ext/scx/releases/tag/v1.0.9
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2025-02-15 16:45:58 +05:30
Alyssa Ross
51169532ba
scx.rustscheds: useFetchCargoVendor ( #377086 )
...
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes. It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-27 09:48:47 +05:30
John Titor
0f40303097
scx.full: remove aarch64-linux from badPlatforms
...
builds on aarch64-linux now.
2024-12-18 21:17:08 +05:30
Gliczy
3982d1a49b
scx.full: 1.0.7 -> 1.0.8
2024-12-17 13:00:46 +01:00
Silvan Mosberger
4f0dadbf38
treewide: format all inactive Nix files
...
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19 .tar.gz \
--argstr baseRev b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
John Titor
df399abc31
scx.full: 1.0.6 -> 1.0.7
...
Cherry-picked upstream patches:
22d45e6ddb
a72c24e7e5
21cf3ccd1d
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2024-12-08 23:23:38 +05:30
Nick Cao
3c352ba051
scx.rustscheds: drop clang from nativeBuildInputs
2024-11-30 09:29:02 -05:00
Nick Cao
682cf788e1
scx.rustscheds: use rustPlatform.bindgenHook
2024-11-30 09:29:00 -05:00
John Titor
a08c650eb5
scx: add aarch64-linux to badPlatforms
2024-11-23 01:15:37 +05:30
John Titor
b10effcf0f
scx.full: 1.0.5 -> 1.0.6
...
Co-authored-by: Gliczy <Gliczy@users.noreply.github.com >
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2024-11-23 00:08:17 +05:30
John Titor
6a0186a14d
scx.full: add passthru.updateScript
...
Co-authored-by: Gliczy <Gliczy@users.noreply.github.com >
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2024-11-23 00:06:28 +05:30
John Titor
b284c986f1
scx: refactor derivation
...
Remove individual rust sub packages,
as they were not working in the next version (v1.0.6) when built seperately
Rust sub-packages are now built as scx.rustscheds
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com >
2024-11-23 00:06:28 +05:30
John Titor
b51fd13e16
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
2024-11-22 18:12:41 +05:30
John Titor
d285c731ed
scx.cscheds: let it fetch it's own libbpf
2024-11-22 18:12:33 +05:30
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
...
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00