feat(nix): expose cargoHash-corrected librln as packages.rln (#3902)

PR #3899 fixes zerokit v2.0.2's stale cargoHash, but only via an internal
`let` binding consumed by liblogosdelivery. Downstream consumers (e.g.
logos-delivery-module) that need librln still pull zerokit's rln package
directly and hit the stale hash.

Expose that corrected derivation as `packages.<system>.rln` so consumers can
bundle the exact same librln this build links, instead of overriding the
cargoHash themselves.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Igor Sirotin 2026-05-22 11:51:52 +01:00 committed by GitHub
parent 5ff734aa56
commit bdd562ecc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,6 +91,11 @@
};
in {
inherit liblogosdelivery;
# Expose the cargoHash-corrected librln so downstream consumers
# (e.g. logos-delivery-module) bundle the exact same librln this
# build links, instead of pulling zerokit's rln directly — whose
# committed cargoHash is stale for v2.0.2 (see zerokitRln above).
rln = zerokitRln;
default = liblogosdelivery;
}
);