lang: parsing to events now

This commit is contained in:
Schrottkatze 2024-04-12 20:55:55 +02:00
commit 1711d17fa6
No known key found for this signature in database
8 changed files with 176 additions and 383 deletions

View file

@ -15,6 +15,7 @@
self,
nixpkgs,
devenv,
fenix,
systems,
...
} @ inputs: let
@ -24,6 +25,11 @@
forEachSystem
(system: let
pkgs = nixpkgs.legacyPackages.${system};
toolchain = with fenix.packages.${system};
combine [
default.toolchain
rust-analyzer
];
in {
default = devenv.lib.mkShell {
inherit inputs pkgs;
@ -33,17 +39,18 @@
config,
...
}: {
languages.rust = {
enable = true;
channel = "nightly";
components = [
"rustc"
"cargo"
"clippy"
"rustfmt"
"rust-src"
];
};
# languages.rust = {
# enable = true;
# channel = "nightly";
# components = [
# "rustc"
# "cargo"
# "clippy"
# "rustfmt"
# "rust-src"
# "rust-analyzer"
# ];
# };
pre-commit.hooks = {
clippy.enable = false;
@ -59,7 +66,7 @@
mold
cargo-nextest
cargo-watch
rust-analyzer
toolchain
];
})
];