Loading pkgs/development/python-modules/virtualenv-clone/default.nix +8 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,14 @@ buildPythonPackage rec { substituteInPlace tests/test_virtualenv_sys.py \ --replace-fail "'virtualenv'" "'${virtualenv}/bin/virtualenv'" # PermissionError: [Errno 13] Permission denied: '/tmp/test_fixup_pth_file.pth' # Unable to reproduce. # Theory: this fixed path may collide with itself on darwin if this package is built for multiple python versions simultaneously substituteInPlace tests/test_fixup_scripts.py \ --replace-fail \ "pth = '/tmp/test_fixup_pth_file.pth'" \ "pth = '$(mktemp -d)/test_fixup_pth_file.pth'" ''; propagatedBuildInputs = [ virtualenv ]; Loading Loading
pkgs/development/python-modules/virtualenv-clone/default.nix +8 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,14 @@ buildPythonPackage rec { substituteInPlace tests/test_virtualenv_sys.py \ --replace-fail "'virtualenv'" "'${virtualenv}/bin/virtualenv'" # PermissionError: [Errno 13] Permission denied: '/tmp/test_fixup_pth_file.pth' # Unable to reproduce. # Theory: this fixed path may collide with itself on darwin if this package is built for multiple python versions simultaneously substituteInPlace tests/test_fixup_scripts.py \ --replace-fail \ "pth = '/tmp/test_fixup_pth_file.pth'" \ "pth = '$(mktemp -d)/test_fixup_pth_file.pth'" ''; propagatedBuildInputs = [ virtualenv ]; Loading