mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
pkgs.formats.yaml: retain YAML 1.1 output
This commit is contained in:
parent
963d559108
commit
29dafe503f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user