diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6aa12fdf3ae..80d75d109d5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3753,6 +3753,10 @@ pythonPackages = python.modules // rec { sed -i -e ' s|e\.path\.startswith("/tmp/temp-device-")|"temp-device-" in e.path| ' tests/test__ped_ped.py + '' + pkgs.lib.optionalString stdenv.isi686 '' + # remove some integers in this test case which overflow on 32bit systems + sed -i -r -e '/class *UnitGetSizeTestCase/,/^$/{/[0-9]{11}/d}' \ + tests/test__ped_ped.py ''; preConfigure = ''