Unverified Commit 9f939f03 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

Merge pull request #270191 from NixOS/backport-269854-to-release-23.11

[Backport release-23.11] qrscan: Pin libclang to version 15
parents 34ab6f61 1e3eafe4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
{ 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=";