From b8246ba626f8c122e615b239985fc340d2eed27c Mon Sep 17 00:00:00 2001 From: Stefano Mazzucco Date: Sat, 17 May 2025 08:24:52 +0100 Subject: [PATCH] qrencode: remove SDL2 to fix infinite recursion in tests Nix fails with an infinite recursion error When running the qrencode tests with SDL2 in nativeCheckInputs. Removing the dependency fixes the error and the tests still run successfully. --- pkgs/by-name/qr/qrencode/package.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/by-name/qr/qrencode/package.nix b/pkgs/by-name/qr/qrencode/package.nix index 1194cc014ba7..fca976b41d14 100644 --- a/pkgs/by-name/qr/qrencode/package.nix +++ b/pkgs/by-name/qr/qrencode/package.nix @@ -3,7 +3,6 @@ stdenv, fetchFromGitHub, pkg-config, - SDL2, libpng, libiconv, autoreconfHook, @@ -37,8 +36,6 @@ stdenv.mkDerivation (finalAttrs: rec { libpng ]; - nativeCheckInputs = [ SDL2 ]; - doCheck = false; checkPhase = ''