We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00389cd commit 7f624ceCopy full SHA for 7f624ce
nix/process-compose/settings/default.nix
@@ -107,8 +107,8 @@ in
107
lib.pipe attrs [ f f ];
108
toYAMLFile =
109
attrs:
110
- pkgs.runCommand "toYamlFile" { buildInputs = [ pkgs.yq-go ]; } ''
111
- yq -P '.' ${pkgs.writeTextFile { name = "process-compose-${name}.json"; text = (builtins.toJSON attrs); }} > $out
+ pkgs.runCommand "${name}.yaml" { buildInputs = [ pkgs.yq-go ]; } ''
+ yq -oy -P '.' ${pkgs.writeTextFile { name = "process-compose-${name}.json"; text = (builtins.toJSON attrs); }} > $out
112
'';
113
in
114
toYAMLFile (removeNullAndEmptyAttrs config.settings);
0 commit comments