qrscan: Pin libclang to version 15
This commit is contained in:
parent
5719ed6853
commit
18c3616b0e
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub, stdenv }:
|
{ clang_15, lib, rustPlatform, fetchFromGitHub, stdenv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "qrscan";
|
pname = "qrscan";
|
||||||
|
@ -12,7 +12,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
rustPlatform.bindgenHook
|
(rustPlatform.bindgenHook.overrideAttrs {
|
||||||
|
libclang = clang_15.cc.lib;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoHash = "sha256-P40IwFRtEQp6BGRgmt1x3UXtAKtWaMjR3kqhYq+p7wQ=";
|
cargoHash = "sha256-P40IwFRtEQp6BGRgmt1x3UXtAKtWaMjR3kqhYq+p7wQ=";
|
||||||
|
|
Loading…
Reference in a new issue