diff --git a/pkgs/development/python-modules/virtualenv-clone/default.nix b/pkgs/development/python-modules/virtualenv-clone/default.nix index 056e38a32923..36d6ca88faf4 100644 --- a/pkgs/development/python-modules/virtualenv-clone/default.nix +++ b/pkgs/development/python-modules/virtualenv-clone/default.nix @@ -20,11 +20,11 @@ buildPythonPackage rec { postPatch = '' substituteInPlace tests/__init__.py \ - --replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'" \ - --replace "'3.9', '3.10']" "'3.9', '3.10', '3.11', '3.12']" # if the Python version used isn't in this list, tests fail + --replace-fail "'virtualenv'" "'${virtualenv}/bin/virtualenv'" \ + --replace-fail "'3.9', '3.10']" "'3.9', '3.10', '3.11', '3.12', '3.13']" # if the Python version used isn't in this list, tests fail substituteInPlace tests/test_virtualenv_sys.py \ - --replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'" + --replace-fail "'virtualenv'" "'${virtualenv}/bin/virtualenv'" ''; propagatedBuildInputs = [ virtualenv ];