xen-guest-agent: remove libclang environment variable
The variable is unecessary in Rust packages due to bindgenHook. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
committed by
Alyssa Ross
parent
dba2363a18
commit
1d11eba657
@@ -20,13 +20,13 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoHash = "sha256-E6QKh4FFr6sLAByU5n6sLppFwPHSKtKffhQ7FfdXAu4=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.bindgenHook
|
||||
llvmPackages.clang
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ xen-slim ];
|
||||
|
||||
env.LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
postFixup = ''
|
||||
patchelf $out/bin/xen-guest-agent --add-rpath ${xen-slim.out}/lib
|
||||
|
||||
Reference in New Issue
Block a user