{ wpa_supplicant }: wpa_supplicant.overrideAttrs (old: { pname = "${old.pname}-eapol_test"; enableParallelBuilding = true; buildFlags = [ "eapol_test" "preauth_test" ]; preInstall = ":"; postInstall = ":"; installPhase = '' runHook preInstall mkdir -p $out/bin install -Dm755 eapol_test $out/bin/eapol_test install -Dm755 preauth_test $out/bin/preauth_test runHook postInstall ''; })