From 29dafe503f88eea36e87079adb87ace6b1cb680a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Nov 2024 06:04:36 +0100 Subject: [PATCH] pkgs.formats.yaml: retain YAML 1.1 output --- pkgs/pkgs-lib/formats.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/pkgs-lib/formats.nix b/pkgs/pkgs-lib/formats.nix index 03663ad96b97..556290be5f4e 100644 --- a/pkgs/pkgs-lib/formats.nix +++ b/pkgs/pkgs-lib/formats.nix @@ -78,8 +78,8 @@ rec { yaml = {}: { - generate = name: value: pkgs.callPackage ({ runCommand, remarshal }: runCommand name { - nativeBuildInputs = [ remarshal ]; + generate = name: value: pkgs.callPackage ({ runCommand, remarshal_0_17 }: runCommand name { + nativeBuildInputs = [ remarshal_0_17 ]; value = builtins.toJSON value; passAsFile = [ "value" ]; preferLocalBuild = true;