docs(users/Profpatsch/lib): move split-stdin to lib & document

Change-Id: I39e81ed766cb209ded5309ea962a59a6f1c811c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3285
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2021-08-07 19:37:54 +02:00
parent 4e2879282d
commit 2835e5ec7e
2 changed files with 24 additions and 7 deletions

View file

@ -162,11 +162,6 @@ let
''
];
split-stdin = depot.nix.writeExecline "split-stdin" { argMode = "env"; } [
"pipeline" [ "runblock" "1" bins.bash "-c" ''${bins.tee} >("$@")'' "bash-split-stdin" ]
"runblock" "-r" "1"
];
capture-stdin = depot.nix.writers.rustSimple {
name = "capture-stdin";
dependencies = [ depot.users.Profpatsch.execline.exec-helpers ];
@ -231,7 +226,6 @@ in depot.nix.utils.drvTargets {
inherit
router
notes-server
split-stdin
index
router-lookup
;