From 18c3616b0e3abbe657ed852bc396893767196c9a Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 25 Nov 2023 12:09:24 +0100 Subject: [PATCH] qrscan: Pin libclang to version 15 --- pkgs/tools/misc/qrscan/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/qrscan/default.nix b/pkgs/tools/misc/qrscan/default.nix index 91b8cfc18db3..6ac80bb7f746 100644 --- a/pkgs/tools/misc/qrscan/default.nix +++ b/pkgs/tools/misc/qrscan/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub, stdenv }: +{ clang_15, lib, rustPlatform, fetchFromGitHub, stdenv }: rustPlatform.buildRustPackage rec { pname = "qrscan"; @@ -12,7 +12,9 @@ rustPlatform.buildRustPackage rec { }; nativeBuildInputs = [ - rustPlatform.bindgenHook + (rustPlatform.bindgenHook.overrideAttrs { + libclang = clang_15.cc.lib; + }) ]; cargoHash = "sha256-P40IwFRtEQp6BGRgmt1x3UXtAKtWaMjR3kqhYq+p7wQ=";