pkgs.formats.yaml: retain YAML 1.1 output

This commit is contained in:
Martin Weinelt 2024-11-09 06:04:36 +01:00
parent 963d559108
commit 29dafe503f
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -78,8 +78,8 @@ rec {
yaml = {}: { yaml = {}: {
generate = name: value: pkgs.callPackage ({ runCommand, remarshal }: runCommand name { generate = name: value: pkgs.callPackage ({ runCommand, remarshal_0_17 }: runCommand name {
nativeBuildInputs = [ remarshal ]; nativeBuildInputs = [ remarshal_0_17 ];
value = builtins.toJSON value; value = builtins.toJSON value;
passAsFile = [ "value" ]; passAsFile = [ "value" ];
preferLocalBuild = true; preferLocalBuild = true;