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