about summary refs log tree commit diff
path: root/pkgs/by-name/xe
diff options
context:
space:
mode:
authorFernando Rodrigues2024-08-18 16:58:08 +0000
committerAlyssa Ross2024-08-19 08:16:37 +0200
commit1d11eba657623a14e752975539d2a69b1d5039ff (patch)
tree69c8398458a659940ad1952a4aa77e0a313ef803 /pkgs/by-name/xe
parentdba2363a18c27bb20a55b91d3a57472ab09f2169 (diff)
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>
Diffstat (limited to 'pkgs/by-name/xe')
-rw-r--r--pkgs/by-name/xe/xen-guest-agent/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/xe/xen-guest-agent/package.nix b/pkgs/by-name/xe/xen-guest-agent/package.nix
index 855140f5200a..55ecf68429e3 100644
--- a/pkgs/by-name/xe/xen-guest-agent/package.nix
+++ b/pkgs/by-name/xe/xen-guest-agent/package.nix
@@ -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