diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-29T20·18+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-30T09·09+0000 |
commit | 8f55567cf209650ada83b3063faded0f6cdd40d7 (patch) | |
tree | cc1c7cb74f2180fd3f14940a96b07341779cd621 /users/Profpatsch/nix-home/default.nix | |
parent | 6d99b93f1a45cff91f369dc7c53bdc724d68d092 (diff) |
feat(users/Profpatsch): add lorri-wait-for-eval r/4265
A small exec wrapper which will query the lorri daemon for the last few events, and if it sees a build running for the current project (searching upwards for shell.nix), it will wait for the build to finish before executing the command (in the new direnv environment). TODO: should patch lorri so that it can provide this information in a better digestive format; right now it might have a later evaluation running, so it’s hard to know which completion to wait for … Change-Id: I8fa4a10484830a731fe3ec58f2694498f46a496c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5903 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/nix-home/default.nix')
-rw-r--r-- | users/Profpatsch/nix-home/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/users/Profpatsch/nix-home/default.nix b/users/Profpatsch/nix-home/default.nix index 3f0b7c9c39c5..ee154c549a6b 100644 --- a/users/Profpatsch/nix-home/default.nix +++ b/users/Profpatsch/nix-home/default.nix @@ -150,6 +150,15 @@ let name = "scripts/ytextr"; path = depot.users.Profpatsch.ytextr; } + { + name = "scripts/lorri-wait-for-eval"; + path = depot.users.Profpatsch.lorri-wait-for-eval; + } + { + name = "scripts/lw"; + path = depot.users.Profpatsch.lorri-wait-for-eval; + } + ] ++ (lib.pipe depot.users.Profpatsch.aliases [ |