mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-14 00:43:49 +01:00
parent
5bcab30ed2
commit
b2feaf6b40
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ with lib; let
|
||||||
then "null"
|
then "null"
|
||||||
else builtins.toString value;
|
else builtins.toString value;
|
||||||
|
|
||||||
removeEmptyLines = str: concatStringsSep "\n" (filter (l: (builtins.match "( |)+" l) == null) (splitString "\n" str));
|
removeEmptyLines = str: concatStringsSep "\n" (filter (l: builtins.match "[[:space:]]*" l != []) (splitString "\n" str));
|
||||||
|
|
||||||
mkOption = {
|
mkOption = {
|
||||||
description ? null,
|
description ? null,
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ with lib; let
|
||||||
then "null"
|
then "null"
|
||||||
else builtins.toString value;
|
else builtins.toString value;
|
||||||
|
|
||||||
removeEmptyLines = str: concatStringsSep "\n" (filter (l: (builtins.match "( |)+" l) == null) (splitString "\n" str));
|
removeEmptyLines = str: concatStringsSep "\n" (filter (l: builtins.match "[[:space:]]*" l != []) (splitString "\n" str));
|
||||||
|
|
||||||
mkOption = {
|
mkOption = {
|
||||||
description ? null,
|
description ? null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue