From 3ec8bab25b5dbbd685bc8c853be8afef5ce43803 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sun, 21 Jun 2026 15:09:53 -0400 Subject: [PATCH] fix: add python to john nativeBuildInputs for cross-compile (opencl_generate_dynamic_loader.py) --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 2d3ec5d..04903ee 100644 --- a/flake.nix +++ b/flake.nix @@ -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 []);