From f627ee84b3a002e8f1fe38d7859860faf7d40be9 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 15 Jan 2023 21:20:40 +0100 Subject: feat(users/Profpatsch/mailbox-org): add simple request json example Adds a simple json quasiquoter thingy. Json can be sent to the `/mailfilter?action=update` endpoint. Change-Id: Iba80c2ab69178e431519933c4a01cd68aaa9f637 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7839 Tested-by: BuildkiteCI Autosubmit: Profpatsch Reviewed-by: Profpatsch --- users/Profpatsch/arglib/netencode.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/Profpatsch/arglib') diff --git a/users/Profpatsch/arglib/netencode.nix b/users/Profpatsch/arglib/netencode.nix index 2b94bd51cf..88bad97a3a 100644 --- a/users/Profpatsch/arglib/netencode.nix +++ b/users/Profpatsch/arglib/netencode.nix @@ -5,7 +5,7 @@ let # Add the given nix arguments to the program as ARGLIB_NETENCODE envvar # # Calls `netencode.gen.dwim` on the provided nix args value. - with-args = args: prog: depot.nix.writeExecline "${prog.name}-with-args" { } [ + with-args = name: args: prog: depot.nix.writeExecline "${name}-with-args" { } [ "export" "ARGLIB_NETENCODE" (depot.users.Profpatsch.netencode.gen.dwim args) -- cgit 1.4.1