fido2luks: migrate to bindgenHook
This commit is contained in:
parent
c9bcecf0ab
commit
ba79d2aa0c
1 changed files with 1 additions and 8 deletions
|
@ -3,9 +3,6 @@
|
|||
, fetchFromGitHub
|
||||
, cryptsetup
|
||||
, pkg-config
|
||||
, clang
|
||||
, llvmPackages
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -19,14 +16,10 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-bXwaFiRHURvS5KtTqIj+3GlGNbEulDgMDP51ZiO1w9o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config clang ];
|
||||
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
||||
|
||||
buildInputs = [ cryptsetup ];
|
||||
|
||||
configurePhase = ''
|
||||
export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib"
|
||||
'';
|
||||
|
||||
cargoSha256 = "sha256-MPji87jYJjYtDAXO+v/Z4XRtCKo+ftsNvmlBrM9iMTk=";
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue