this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 17 lines 404 B view raw
1# Use pkgs.callPackage 2{ remarshal, runCommand, writeTextFile }: let 3 toYAML = data: let 4 asJson = builtins.toJSON data; 5 asFile = writeTextFile { 6 name = "data.json"; 7 text = asJson; 8 }; 9 in builtins.readFile (runCommand "to-yaml" {} '' 10 ${remarshal}/bin/remarshal \ 11 --input-format json \ 12 --output-format yaml \ 13 < ${asFile} > $out 14 ''); 15in { 16 inherit toYAML; 17}