fix: add python to john nativeBuildInputs for cross-compile (opencl_generate_dynamic_loader.py)

This commit is contained in:
2026-06-21 15:09:53 -04:00
parent 2a4856e447
commit 3ec8bab25b

View File

@@ -187,6 +187,9 @@
# perl-ldap fails cross-compile (Module::Install needs dynamic loading)
# Strip it from john deps -- the perl scripts that need it are not critical
john = prev.john.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
prev.buildPackages.python # opencl_generate_dynamic_loader.py needs python
];
propagatedBuildInputs = builtins.filter
(x: x?pname && x.pname != "perl-ldap")
(old.propagatedBuildInputs or []);