libkrun: use rustPlatform.bindgenHook
This commit is contained in:
parent
b20782310e
commit
c56b374946
@ -40,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
llvmPackages.clang
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.bindgenHook
|
||||
cargo
|
||||
rustc
|
||||
] ++ lib.optional (sevVariant || withGpu) pkg-config;
|
||||
@ -52,8 +53,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional withSound pipewire
|
||||
++ lib.optional sevVariant openssl;
|
||||
|
||||
env.LIBCLANG_PATH = "${lib.getLib llvmPackages.clang-unwrapped}/lib/libclang.so";
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
] ++ lib.optional withGpu "GPU=1"
|
||||
|
Loading…
Reference in New Issue
Block a user