2025-09-02 14:21:53 +02:00
|
|
|
{
|
|
|
|
|
inputs,
|
2025-09-04 11:01:08 +02:00
|
|
|
cell,
|
2025-09-02 14:21:53 +02:00
|
|
|
...
|
|
|
|
|
}: let
|
|
|
|
|
inherit (inputs) soonix;
|
2025-09-04 11:01:08 +02:00
|
|
|
inherit (cell) ci;
|
2025-09-02 14:21:53 +02:00
|
|
|
in
|
|
|
|
|
(soonix.make {
|
|
|
|
|
hooks = {
|
2025-09-04 11:01:08 +02:00
|
|
|
ci = ci.soonix;
|
2025-09-02 14:21:53 +02:00
|
|
|
test = {
|
|
|
|
|
output = "test.yaml";
|
|
|
|
|
generator = "nix";
|
|
|
|
|
data = {
|
|
|
|
|
name = "soonix-test";
|
|
|
|
|
version = "1.0.0";
|
|
|
|
|
};
|
|
|
|
|
opts.format = "yaml";
|
|
|
|
|
hook = {
|
|
|
|
|
mode = "copy";
|
|
|
|
|
gitignore = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-11-16 20:56:57 +01:00
|
|
|
testJson = {
|
|
|
|
|
output = "test.json";
|
|
|
|
|
data.hello = "world";
|
|
|
|
|
opts.format = "json";
|
|
|
|
|
hook = {
|
|
|
|
|
mode = "copy";
|
|
|
|
|
gitignore = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-09-02 14:21:53 +02:00
|
|
|
};
|
|
|
|
|
}).config
|