pythonInterpreters.pypy39_prebuilt: put deprecation behinde allowAliases (#395783)

Changed files
+3 -2
pkgs
development
interpreters
python
+3 -2
pkgs/development/interpreters/python/default.nix
···
inherit passthruFun;
};
-
pypy39_prebuilt = throw "pypy 3.9 has been removed, use pypy 3.10 instead"; # Added 2025-01-03
-
pypy310_prebuilt = callPackage ./pypy/prebuilt.nix {
# Not included at top-level
self = __splicedPackages.pythonInterpreters.pypy310_prebuilt;
···
pythonVersion = "3.10";
inherit passthruFun;
};
+
}
+
// lib.optionalAttrs config.allowAliases {
+
pypy39_prebuilt = throw "pypy 3.9 has been removed, use pypy 3.10 instead"; # Added 2025-01-03
}
)