about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/supertag/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/filesystems/supertag/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/filesystems/supertag/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/tools/filesystems/supertag/default.nix b/nixpkgs/pkgs/tools/filesystems/supertag/default.nix
index 4e7cb8beae57..cee8ae3ead44 100644
--- a/nixpkgs/pkgs/tools/filesystems/supertag/default.nix
+++ b/nixpkgs/pkgs/tools/filesystems/supertag/default.nix
@@ -1,5 +1,5 @@
 { lib, rustPlatform, fetchFromGitHub
-, clang, llvmPackages, pkg-config
+, pkg-config
 , dbus, fuse, sqlite
 }:
 
@@ -20,9 +20,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "sha256-W5Emkbe1jI9Z+irMckD/3gJO47rACa9E5k5dqAFC1yQ=";
 
-  LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
-
-  nativeBuildInputs = [ clang pkg-config ];
+  nativeBuildInputs = [ rustPlatform.bindgenHook pkg-config ];
   buildInputs = [ dbus fuse sqlite ];
 
   # The test are requiring extended permissions.