From e5188eb5b06ea92849d8d5a1e603d8123f3d505a Mon Sep 17 00:00:00 2001 From: Hermes Date: Thu, 18 Jun 2026 20:38:38 -0400 Subject: [PATCH] fix: strip perl-ldap from john deps in cross-compile overlay --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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: {