This commit is contained in:
Sebastian Moser
2024-02-16 02:01:28 +01:00
parent d21bc3c7c5
commit aacc9e9eed
16 changed files with 233 additions and 16 deletions

9
mods/my-nixpkgs-overlay.nix Executable file → Normal file
View File

@@ -92,6 +92,7 @@
];
patches = [
./static/python311Packages-lxml.patch
# built without any extensions ... hardcoded with a patch
];
STATICBUILD = true;
@@ -110,6 +111,14 @@
#mv ./libs/libxml2-2.10.4.tar.xz ./libs/libxml2-2.10.4.tar.gz
});
};
pkgsStatic = prev.pkgsStatic // {
libglvnd = prev.libglvnd;
gonme2.libIDL = prev.gnome2.libIDL;
libjpeg-turbe = prev.libjpeg-turbo;
};
}

View File

@@ -24,3 +24,16 @@ index ab2efad..22fa8f6 100644
return download_library(dest_dir, from_location, 'libxslt',
version_re, filename, version=version)
diff --git a/setupinfo.py b/setupinfo.py
index 90b1de4..2284de3 100644
--- a/setupinfo.py
+++ b/setupinfo.py
@@ -152,6 +152,8 @@ def ext_modules(static_include_dirs, static_library_dirs,
cythonize_directives['linetrace'] = True
result = []
+ modules = []
+ module_files = []
for module, src_file in zip(modules, module_files):
is_py = module in COMPILED_MODULES
main_module_source = src_file + (