4.flake-parts/dev
Robert Hensing 577772566b Memoize undeclared systems
The memoize function is not a pretty thing in terms of implementation,
but it's exactly what we need to solve this UX problem and performance
problem.

Without this, every distinct `withSystem` call will cause a re-evaluation
of the `perSystem` module, which is inefficient. Now, it's a one-time
13KB and length(system) attribute lookups: negligible compared to any
instantiations and such.

Nix doesn't offer memoization for functions yet, so this is the best we
can do.
2025-07-21 20:07:18 +02:00
..
tests Memoize undeclared systems 2025-07-21 20:07:18 +02:00
flake-module.nix Revert "flake-update: Get the nixpkgs/lib subtree only" 2025-03-07 14:03:14 +01:00
flake.lock dev/flake.lock: Update 2025-07-01 23:35:49 +00:00
flake.nix Dogfood flakeModules.partitions 2024-08-29 14:03:28 +02:00