1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00

Forget the internal shit; just update documents

This commit is contained in:
Antonio Gurgel 2024-02-18 20:43:03 -08:00
parent d81e9d0648
commit 721daf84b7
2 changed files with 5 additions and 6 deletions

View file

@ -307,6 +307,8 @@ Reference
Main functions
==============
These functions are only available outside of service modules.
mkDerivation
------------
@ -345,12 +347,11 @@ Each module must be an attrset with the signature ``{repo, chart, version, chart
mkChartsWithNixhelm
-------------------
``src -> nixhelm -> attrs``
``src -> attrs``
Same as ``mkCharts``, but overlays the fetched charts onto the ones `provided by Nixhelm`_.
Same as ``mkCharts``, but overlays the fetched charts onto the ones `provided by Nixhelm`_ through the flake input.
- **src** (path): Search root.
- **nixhelm** (attrset): The flake itself.
.. _provided by Nixhelm: https://github.com/farcaller/nixhelm/blob/f63710348e393d8640e9e9b896e74bb31a3ee871/flake.nix#L45

View file

@ -42,7 +42,7 @@
transformer = haumea.lib.transformers.liftDefault;
};
in {
lib = {
lib = lib // {
mkDerivation = {
charts,
user ? {},
@ -52,8 +52,6 @@
})
.mkDerivation;
internal = lib;
inherit mkCharts;
mkChartsWithNixhelm = src:
pkgs.lib.attrsets.recursiveUpdate