mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #234321 from wegank/system76-scheduler-refactor
linuxPackages.system76-scheduler: migrate to bindgenHook
This commit is contained in:
commit
48dc085937
|
@ -1,9 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, llvm
|
|
||||||
, clang
|
|
||||||
, libclang
|
|
||||||
, pipewire
|
, pipewire
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, bcc
|
, bcc
|
||||||
|
@ -22,10 +19,9 @@ in rustPlatform.buildRustPackage {
|
||||||
};
|
};
|
||||||
cargoSha256 = "sha256-hpFDAhOzm4v3lBWwAl/10pS5xvKCScdKsp5wpCeQ+FE=";
|
cargoSha256 = "sha256-hpFDAhOzm4v3lBWwAl/10pS5xvKCScdKsp5wpCeQ+FE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config llvm clang ];
|
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
||||||
buildInputs = [ dbus pipewire ];
|
buildInputs = [ dbus pipewire ];
|
||||||
|
|
||||||
LIBCLANG_PATH = "${libclang.lib}/lib";
|
|
||||||
EXECSNOOP_PATH = "${bcc}/bin/execsnoop";
|
EXECSNOOP_PATH = "${bcc}/bin/execsnoop";
|
||||||
|
|
||||||
# tests don't build
|
# tests don't build
|
||||||
|
|
Loading…
Reference in a new issue