generated from Patagia/template-nix
parent
3b04b82998
commit
9b7e1fb226
18 changed files with 1117 additions and 30 deletions
|
@ -49,6 +49,8 @@
|
|||
root = ./.;
|
||||
fileset = pkgs.lib.fileset.unions [
|
||||
./api.json
|
||||
./controller/.sqlx
|
||||
./controller/migrations
|
||||
(craneLib.fileset.commonCargoSources ./.)
|
||||
];
|
||||
};
|
||||
|
@ -116,6 +118,7 @@
|
|||
formatter =
|
||||
(treefmt-nix.lib.evalModule pkgs {
|
||||
projectRootFile = "flake.nix";
|
||||
|
||||
programs = {
|
||||
nixfmt.enable = true;
|
||||
nixfmt.package = pkgs.nixfmt-rfc-style;
|
||||
|
@ -141,6 +144,8 @@
|
|||
just
|
||||
nixfmt-rfc-style
|
||||
rust-dev-toolchain
|
||||
sqls
|
||||
sqlx-cli
|
||||
watchexec
|
||||
]
|
||||
++ commonArgs.buildInputs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue