fix minor mistake
This commit is contained in:
@@ -11,10 +11,12 @@ with lib; let
|
|||||||
yamlGenerator = {preserved-tags ? []}: let
|
yamlGenerator = {preserved-tags ? []}: let
|
||||||
selectors =
|
selectors =
|
||||||
pkgs.lib.strings.concatStringsSep "/"
|
pkgs.lib.strings.concatStringsSep "/"
|
||||||
(builtins.map (x: ''
|
(builtins.map (
|
||||||
|
x: ''
|
||||||
with((.. | select(kind == "scalar") | select(test("^!${x} .*"))); . = sub("!${x} ", "") | . tag="!${x}")
|
with((.. | select(kind == "scalar") | select(test("^!${x} .*"))); . = sub("!${x} ", "") | . tag="!${x}")
|
||||||
''))
|
''
|
||||||
preserved-tags;
|
)
|
||||||
|
preserved-tags);
|
||||||
in {
|
in {
|
||||||
generate = name: value:
|
generate = name: value:
|
||||||
pkgs.callPackage (
|
pkgs.callPackage (
|
||||||
|
|||||||
Reference in New Issue
Block a user