diff options
author | Andreas Zweili <andreas@zweili.ch> | 2023-11-25 12:09:24 +0100 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-26 16:40:19 +0000 |
commit | 1e3eafe41fef128d65a93a85198f18606dbd184d (patch) | |
tree | f662e28e545b053ba5e5d6cf62370f23c5b70194 | |
parent | 34ab6f61977213613981d44236b2d61b701a24e6 (diff) |
qrscan: Pin libclang to version 15
(cherry picked from commit 18c3616b0e3abbe657ed852bc396893767196c9a)
-rw-r--r-- | pkgs/tools/misc/qrscan/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/misc/qrscan/default.nix b/pkgs/tools/misc/qrscan/default.nix index 91b8cfc18db37..6ac80bb7f746d 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="; |