cache reusable computations #561

Closed
opened 2025-10-30 12:08:13 +01:00 by kiara · 1 comment
Owner

some of the components we build can be used in different places, including production vs (different) tests.
to save on build time, it may be of interest to deduplicate such computations by reusing cached results when possible.

i think flakes may offer this using their self fixpoint, which may be made available more widely using the likes of flake-parts (which.. we otherwise had mixed feelings toward, see #528).
as such, we may want to:

some of the components we build can be used in different places, including production vs (different) tests. to save on build time, it may be of interest to deduplicate such computations by reusing cached results when possible. i think flakes may offer this using their `self` fixpoint, which may be made available more widely using the likes of `flake-parts` (which.. we otherwise had mixed feelings toward, see #528). as such, we may want to: - verify such potential performance gains - investigate ways to reconcile this with facilitating consumption through dependency managers other than flakes (also see #518, https://discourse.nixos.org/t/froyo-a-tasteful-way-to-organize-your-nix-code/70823)
Author
Owner

as per Robert, Nix does not offer this yet.

as per Robert, Nix does not offer this yet.
kiara 2025-12-02 22:19:09 +01:00
  • closed this issue
  • added the
    3 points
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#224 automated dev-ops workflows
fediversity/fediversity
Reference: fediversity/fediversity#561
No description provided.