diff options
-rw-r--r-- | lass/5pkgs/default.nix | 1 | ||||
-rw-r--r-- | lass/5pkgs/logify/default.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lass/5pkgs/default.nix b/lass/5pkgs/default.nix index e47e3126a..e49a0442d 100644 --- a/lass/5pkgs/default.nix +++ b/lass/5pkgs/default.nix @@ -12,6 +12,7 @@ vimperator = pkgs.callPackage ./firefoxPlugins/vimperator.nix {}; }; init = pkgs.callPackage ./init/default.nix args; + logify = pkgs.callPackage ./logify/default.nix {}; mk_sql_pair = pkgs.callPackage ./mk_sql_pair/default.nix {}; mpv-poll = pkgs.callPackage ./mpv-poll/default.nix {}; pop = pkgs.callPackage ./pop/default.nix {}; diff --git a/lass/5pkgs/logify/default.nix b/lass/5pkgs/logify/default.nix new file mode 100644 index 000000000..bca7e7971 --- /dev/null +++ b/lass/5pkgs/logify/default.nix @@ -0,0 +1,7 @@ +{ curl, writeDashBin }: + +#usage: ping 8.8.8.8 |& logify -I +writeDashBin "logify" '' + date_args=''${@:--Is} + while read line; do echo $(date "$date_args") $line; done +'' |