feat: make soonix a bit more flexible with and without devshell

This commit is contained in:
technofab 2025-09-02 14:21:53 +02:00
parent 3baef660cf
commit 690332ceea
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
6 changed files with 106 additions and 37 deletions

View file

@ -4,6 +4,7 @@
...
}: let
inherit (inputs) pkgs devshell soonix treefmt;
soonixShellHook = cell.soonix.shellHook;
in {
default = devshell.mkShell {
imports = [soonix.devshellModule];
@ -17,19 +18,6 @@ in {
};
})
];
soonix.hooks.test = {
output = "test.yaml";
generator = "nix";
data = {
name = "soonix-test";
version = "1.0.0";
};
opts.format = "yaml";
hook = {
mode = "copy";
gitignore = true;
};
};
inherit soonixShellHook;
};
}