From 0e66ce803b28d14c1e09b482f655e2876f0ce187 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 26 Jan 2026 21:46:50 +0100 Subject: [PATCH] python3Packages.pycdio: fix test for fs,read --- pkgs/development/python-modules/pycdio/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycdio/default.nix b/pkgs/development/python-modules/pycdio/default.nix index e851ba916076..4449da9a848d 100644 --- a/pkgs/development/python-modules/pycdio/default.nix +++ b/pkgs/development/python-modules/pycdio/default.nix @@ -39,15 +39,18 @@ buildPythonPackage (finalAttrs: { libiconv ]; + postPatch = '' + substituteInPlace {data,test}/isofs-m1.cue \ + --replace-fail "ISOFS-M1.BIN" "isofs-m1.bin" + ''; + nativeCheckInputs = [ pytestCheckHook ]; enabledTestPaths = [ "test/test-*.py" ]; disabledTests = [ # Test are depending on image files that are not there - "test_fs" "test_bincue" - "test_read" "test_cdda" ];