From ab7bf6b39e5102291e0fece78b180cf0d48addaf Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Mon, 3 Aug 2026 13:03:14 +0200 Subject: [PATCH] zxing-cpp: enable old and new writers See https://github.com/zxing-cpp/zxing-cpp/releases/tag/v3.0.1 > It is generally advised for package maintainers to use the BOTH config option during the 3.0 release cycle to allow client applications (like e.g. LibreOffice) to work until they switch to the new API. --- pkgs/by-name/zx/zxing-cpp/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/zx/zxing-cpp/package.nix b/pkgs/by-name/zx/zxing-cpp/package.nix index 182630f30259..144452f524bf 100644 --- a/pkgs/by-name/zx/zxing-cpp/package.nix +++ b/pkgs/by-name/zx/zxing-cpp/package.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { "-DZXING_DEPENDENCIES=LOCAL" "-DZXING_EXAMPLES=OFF" "-DZXING_USE_BUNDLED_ZINT=OFF" + (lib.cmakeFeature "ZXING_WRITERS" "BOTH") ]; passthru = {