mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 17:50:08 +01:00
docs: improve option descriptions
This commit is contained in:
parent
e7f7043012
commit
cad40720a6
8 changed files with 90 additions and 25 deletions
|
|
@ -3,14 +3,14 @@ args: let
|
|||
lib = args.lib or args.pkgs.lib;
|
||||
# makes it optional to pass if it's not explicitly needed
|
||||
pkgs = args.pkgs or (throw "[nix-gitlab-ci] pkgs argument was used but not set, please pass it");
|
||||
inherit (lib) evalModules;
|
||||
inherit (lib) evalModules trimWith;
|
||||
|
||||
impl = import ./impl {inherit lib pkgs cilib;};
|
||||
|
||||
cilib = {
|
||||
inherit (impl) helpers modules mkPipeline mkJobRun mkJobDeps mkJobPatched;
|
||||
utils = import ./utils.nix {inherit pkgs;};
|
||||
version = builtins.readFile ./VERSION;
|
||||
version = trimWith { start = true; end = true; } (builtins.readFile ./VERSION);
|
||||
|
||||
mkCI = config:
|
||||
(evalModules {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue