1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00
turboprop/templates/default
Antonio Gurgel 27b06c5798 Implement lib.gatherNamespaces
The documentation for pkgs.lib.lists.unique warned me that the function
is O(n^2). So I conducted some rather unscientific tests using my own
Kubernetes flake and found no noticeable time penalty:
`rm result && nix-collect-garbage -d && nix build` always took
between 37 and 40 seconds, with or without gatherNamespaces.
But, well, n=10.

Also, make more obvious the flaw in mk.namespaces.
If I prefix something with "N.B." it shouldn't be hidden in the code.
2023-12-07 00:03:08 -08:00
..
services Allow fetchers to be used as builders 2023-12-06 00:00:05 -08:00
flake.nix Don't ship nixhelm with Turboprop 2023-12-06 22:59:39 -08:00
namespaces.nix Implement lib.gatherNamespaces 2023-12-07 00:03:08 -08:00