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" ];