makePythonWriter: remove a useless pypy check

This commit is contained in:
SandaruKasa
2026-06-10 00:20:29 +03:00
parent 013b417c09
commit 14403d5630
+5 -8
View File
@@ -1192,15 +1192,12 @@ rec {
])
// {
interpreter =
if pythonPackages != pkgs.pypy2Packages || pythonPackages != pkgs.pypy3Packages then
if libraries == [ ] then
python.interpreter
else if (lib.isFunction libraries) then
(python.withPackages libraries).interpreter
else
(python.withPackages (ps: libraries)).interpreter
if libraries == [ ] then
python.interpreter
else if (lib.isFunction libraries) then
(python.withPackages libraries).interpreter
else
python.interpreter;
(python.withPackages (ps: libraries)).interpreter;
check = optionalString (python.isPy3k && doCheck) (
writeDash "pythoncheck.sh" ''
exec ${buildPythonPackages.flake8}/bin/flake8 --show-source ${ignoreAttribute} "$1"