mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
chore: reformat
This commit is contained in:
parent
cad40720a6
commit
f147295418
5 changed files with 8 additions and 5 deletions
|
|
@ -10,7 +10,10 @@ args: let
|
|||
cilib = {
|
||||
inherit (impl) helpers modules mkPipeline mkJobRun mkJobDeps mkJobPatched;
|
||||
utils = import ./utils.nix {inherit pkgs;};
|
||||
version = trimWith { start = true; end = true; } (builtins.readFile ./VERSION);
|
||||
version = trimWith {
|
||||
start = true;
|
||||
end = true;
|
||||
} (builtins.readFile ./VERSION);
|
||||
|
||||
mkCI = config:
|
||||
(evalModules {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ in rec {
|
|||
unsetOr = typ:
|
||||
(types.either unsetType typ)
|
||||
// {
|
||||
description = typ.description;
|
||||
inherit (typ) description;
|
||||
};
|
||||
mkUnsetOption = opts:
|
||||
mkOption (opts
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ in rec {
|
|||
nixJobsByDefault = mkOption {
|
||||
description = ''
|
||||
Whether to transform all jobs to nix-configured jobs by default.
|
||||
If false, you need to set [`nix.enable`](#pipelinesnamejobsnamenixenable)
|
||||
If false, you need to set [`nix.enable`](#pipelinesnamejobsnamenixenable)
|
||||
for each job you want to be transformed.
|
||||
'';
|
||||
type = types.bool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue