feat(users/Profpatsch/mailbox-org): Set up passing of sieve-test
Implement a parser for tools, and instantiate once for arglib-netencode arguments (parsed by the new netencode parser) and one just from the PATH for testing from the repl. Change-Id: Id0cf264100123a87700880c7230d68426224fd0d Reviewed-on: https://cl.tvl.fyi/c/depot/+/7798 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
cd40585ea4
commit
48686ca0d6
3 changed files with 136 additions and 16 deletions
|
@ -2,18 +2,26 @@
|
|||
|
||||
let
|
||||
|
||||
cas-serve = depot.users.Profpatsch.writers.writeHaskellInteractive "mailbox-org"
|
||||
{
|
||||
libraries = [
|
||||
depot.users.Profpatsch.my-prelude
|
||||
depot.users.Profpatsch.execline.exec-helpers-hs
|
||||
pkgs.haskellPackages.aeson
|
||||
pkgs.haskellPackages.http-conduit
|
||||
pkgs.haskellPackages.aeson-better-errors
|
||||
cas-serve =
|
||||
lib.pipe ./MailboxOrg.hs [
|
||||
(depot.users.Profpatsch.writers.writeHaskellInteractive "mailbox-org"
|
||||
{
|
||||
libraries = [
|
||||
depot.users.Profpatsch.my-prelude
|
||||
depot.users.Profpatsch.execline.exec-helpers-hs
|
||||
depot.users.Profpatsch.arglib.netencode.haskell
|
||||
pkgs.haskellPackages.aeson
|
||||
pkgs.haskellPackages.http-conduit
|
||||
pkgs.haskellPackages.aeson-better-errors
|
||||
|
||||
];
|
||||
ghcArgs = [ "-threaded" ];
|
||||
})
|
||||
(depot.users.Profpatsch.arglib.netencode.with-args {
|
||||
BINS = depot.nix.getBins pkgs.dovecot_pigeonhole [ "sieve-test" ];
|
||||
})
|
||||
];
|
||||
|
||||
];
|
||||
ghcArgs = [ "-threaded" ];
|
||||
} ./MailboxOrg.hs;
|
||||
|
||||
in
|
||||
cas-serve
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue