...
This commit is contained in:
9
mods/my-nixpkgs-overlay.nix
Executable file → Normal file
9
mods/my-nixpkgs-overlay.nix
Executable file → Normal 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;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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 + (
|
||||
|
||||
Reference in New Issue
Block a user