diff options
author | lassulus <lassulus@lassul.us> | 2019-01-27 14:27:54 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-01-27 14:27:54 +0100 |
commit | fd4876da16d436a38700b358f26ba48903de8d20 (patch) | |
tree | 13ec0159a17603cfa58d97e7638721ebf4dd4eb4 /krebs | |
parent | 052cef71fd24ce36bbd043e2aa12d2ff3a9d247c (diff) |
reaktor2: pretty print bier balance
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/2configs/reaktor2.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/krebs/2configs/reaktor2.nix b/krebs/2configs/reaktor2.nix index ae2e975a2..bdd95a256 100644 --- a/krebs/2configs/reaktor2.nix +++ b/krebs/2configs/reaktor2.nix @@ -99,7 +99,9 @@ let state_file = "${stateDir}/ledger"; }; filename = pkgs.writeDash "bier-balance" '' - ${pkgs.hledger}/bin/hledger -f $state_file bal -N + ${pkgs.hledger}/bin/hledger -f $state_file bal -N -O csv \ + | ${pkgs.coreutils}/bin/tail +2 \ + | ${pkgs.miller}/bin/mlr --icsv --opprint cat ''; }; } |