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
commit 48dc085937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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