Merge pull request #234321 from wegank/system76-scheduler-refactor

linuxPackages.system76-scheduler: migrate to bindgenHook
This commit is contained in:
Weijia Wang
2023-05-27 17:14:02 +03:00
committed by GitHub
@@ -1,9 +1,6 @@
{ lib
, fetchFromGitHub
, rustPlatform
, llvm
, clang
, libclang
, pipewire
, pkg-config
, bcc
@@ -22,10 +19,9 @@ in rustPlatform.buildRustPackage {
};
cargoSha256 = "sha256-hpFDAhOzm4v3lBWwAl/10pS5xvKCScdKsp5wpCeQ+FE=";
nativeBuildInputs = [ pkg-config llvm clang ];
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
buildInputs = [ dbus pipewire ];
LIBCLANG_PATH = "${libclang.lib}/lib";
EXECSNOOP_PATH = "${bcc}/bin/execsnoop";
# tests don't build