Merge pull request #271578 from a-n-n-a-l-e-e/qrcode

qrcode: add patch to fix compiler errors
This commit is contained in:
Emily Trau 2023-12-03 14:57:51 +11:00 committed by GitHub
commit f40e5d3d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,17 +2,15 @@
stdenv.mkDerivation {
pname = "qrcode";
version = "unstable-2022-01-10";
version = "unstable-2023-12-02";
src = fetchFromGitHub {
owner = "qsantos";
repo = "qrcode";
rev = "f4475866bbf963ad118db936060f606eedc224d5";
hash = "sha256-IbWYSAc0PvSWcxKaPUXDldGDCK/lPZjptepYtLppPmA=";
rev = "96fac69ad3e4f616ce75c0e3ef4ed0574cfab315";
hash = "sha256-Aesjys6FchB6qcLRWJNGfcEZRlO3stw3+IM8Xe2pF+Q=";
};
env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''