mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
parent
c6aa14fd87
commit
6c2e919de4
4 changed files with 11 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
||||||
lib,
|
lib,
|
||||||
callPackage,
|
callPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch2,
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
scx-common = rec {
|
scx-common = rec {
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
zlib,
|
zlib,
|
||||||
zstd,
|
zstd,
|
||||||
scx-common,
|
scx-common,
|
||||||
|
protobuf,
|
||||||
|
libseccomp,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -74,6 +76,7 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
||||||
jq
|
jq
|
||||||
pkg-config
|
pkg-config
|
||||||
zstd
|
zstd
|
||||||
|
protobuf
|
||||||
]
|
]
|
||||||
++ bpftools.buildInputs
|
++ bpftools.buildInputs
|
||||||
++ bpftools.nativeBuildInputs;
|
++ bpftools.nativeBuildInputs;
|
||||||
|
@ -81,6 +84,7 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
elfutils
|
elfutils
|
||||||
zlib
|
zlib
|
||||||
|
libseccomp
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
zstd,
|
zstd,
|
||||||
scx-common,
|
scx-common,
|
||||||
scx,
|
scx,
|
||||||
|
protobuf,
|
||||||
|
libseccomp,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "scx_rustscheds";
|
pname = "scx_rustscheds";
|
||||||
|
@ -26,11 +28,13 @@ rustPlatform.buildRustPackage {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
rustPlatform.bindgenHook
|
rustPlatform.bindgenHook
|
||||||
|
protobuf
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
elfutils
|
elfutils
|
||||||
zlib
|
zlib
|
||||||
zstd
|
zstd
|
||||||
|
libseccomp
|
||||||
];
|
];
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"scx": {
|
"scx": {
|
||||||
"version": "1.0.11",
|
"version": "1.0.12",
|
||||||
"hash": "sha256-Lj+YH+pWcdbGvpk6PAgat279cXOGkm0SZ5+wdK+2u9Q=",
|
"hash": "sha256-ti4SPx66Ykwqsel7l8Rb0WEBypFbQKoDd0foMAtEmlE=",
|
||||||
"cargoHash": "sha256-sDrkUiZpX04A6a4ltFFZo6qtUgUgZ0ydml4mfKYYu3g="
|
"cargoHash": "sha256-nD+RalFCJLqQGMVtaJm/NLCrY8Iq5/eAsW+ydABvw2o="
|
||||||
},
|
},
|
||||||
"bpftool": {
|
"bpftool": {
|
||||||
"rev": "183e7010387d1fc9f08051426e9a9fbd5f8d409e",
|
"rev": "183e7010387d1fc9f08051426e9a9fbd5f8d409e",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue