newelle: ship on moby, hack in cross compilation

This commit is contained in:
2025-07-24 07:03:40 +00:00
parent c2ab6748c4
commit 32946c35d9
4 changed files with 63 additions and 2 deletions

View File

@@ -588,6 +588,25 @@ in with final; {
cargo = crossCargo;
};
# pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
# (pyself: pysuper: {
# # 2025/07/23: upstreaming is unblocked, but solution is untested.
# # the references here are a result of the cython build process.
# # cython is using the #include files from the build python, and leaving those paths in code comments.
# # better solution is to get cython to use the HOST python??
# #
# # python3Packages.srsly is required by `newelle` program.
# srsly = pysuper.srsly.overridePythonAttrs (upstream: {
# nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [
# removeReferencesTo
# ];
# postFixup = (upstream.postFixup or "") + ''
# remove-references-to -t ${pyself.python.pythonOnBuildForHost} $out/${pyself.python.sitePackages}/srsly/msgpack/*.cpp
# '';
# });
# })
# ];
# qt6 = prev.qt6.overrideScope (self: super: {
# # qtbase = super.qtbase.overrideAttrs (upstream: {
# # # cmakeFlags = upstream.cmakeFlags ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [