mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2026-02-02 07:15:06 +01:00
feat: make soonix a bit more flexible with and without devshell
This commit is contained in:
parent
3baef660cf
commit
690332ceea
6 changed files with 106 additions and 37 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue