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:
parent
d81e9d0648
commit
721daf84b7
2 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue