fix minor mistake

This commit is contained in:
Alexandra Østermark
2025-11-12 20:10:17 +01:00
parent 709ab63d5a
commit 9a4dc02b20
+5 -3
View File
@@ -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 (