Skip to content

Commit

Permalink
fix: several issues
Browse files Browse the repository at this point in the history
  • Loading branch information
huuff committed Oct 14, 2024
1 parent 92ee288 commit 807fcdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions leptos/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
treefmt,
pre-commit,
nix-checks,
...
}:
utils.lib.eachDefaultSystem (
system:
Expand Down Expand Up @@ -68,7 +69,7 @@
clippy = checks.clippy ./.;
};

devShell.default =
devShells.default =
with pkgs;
mkShell {
inherit (pre-commit-check) shellHook;
Expand All @@ -85,7 +86,7 @@
cargo-generate # required for cargo-leptos
dart-sass
binaryen # required for release compilation
my-drvs.leptosfmt
myPkgs.leptosfmt
stylance-cli # bundle sass
];
};
Expand Down
3 changes: 2 additions & 1 deletion leptos/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

treefmt = {
enable = true;
packageOverrides.treefmt = treefmt;
packagae = treefmt;
pass_filenames = false;
};

statix.enable = true;
Expand Down

0 comments on commit 807fcdc

Please sign in to comment.