mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2025-09-24 23:41:30 +02:00
lang: parsing to events now
This commit is contained in:
parent
f7b61f9e0e
commit
1711d17fa6
8 changed files with 176 additions and 383 deletions
31
flake.nix
31
flake.nix
|
@ -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
|
||||
];
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue