fix: strip perl-ldap from john deps in cross-compile overlay

This commit is contained in:
2026-06-18 20:38:38 -04:00
parent 9be5583750
commit e5188eb5b0

View File

@@ -83,6 +83,13 @@
export PKG_CONFIG_PATH="${prev.buildPackages.hyprwayland-scanner}/lib/pkgconfig:$PKG_CONFIG_PATH" export PKG_CONFIG_PATH="${prev.buildPackages.hyprwayland-scanner}/lib/pkgconfig:$PKG_CONFIG_PATH"
''; '';
}); });
# 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: {
propagatedBuildInputs = builtins.filter
(x: x?pname && x.pname != "perl-ldap")
(old.propagatedBuildInputs or []);
});
}; };
uconsoleRpiPipewireOverlay = final: prev: { uconsoleRpiPipewireOverlay = final: prev: {