diff --git a/flake.nix b/flake.nix index 3b3807b..dd822a9 100644 --- a/flake.nix +++ b/flake.nix @@ -83,6 +83,13 @@ 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: {