mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2025-09-24 23:41:30 +02:00
lang: improve and simplify error handling and storage
fixes wrong error ordering with errors using `forward_parents`.
This commit is contained in:
parent
ed151c2e3c
commit
f6da90a354
8 changed files with 110 additions and 42 deletions
19
flake.nix
19
flake.nix
|
@ -27,8 +27,7 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
toolchain = with fenix.packages.${system};
|
||||
combine [
|
||||
default.toolchain
|
||||
rust-analyzer
|
||||
complete.toolchain
|
||||
];
|
||||
in {
|
||||
default = devenv.lib.mkShell {
|
||||
|
@ -39,24 +38,14 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
# languages.rust = {
|
||||
# enable = true;
|
||||
# channel = "nightly";
|
||||
# components = [
|
||||
# "rustc"
|
||||
# "cargo"
|
||||
# "clippy"
|
||||
# "rustfmt"
|
||||
# "rust-src"
|
||||
# "rust-analyzer"
|
||||
# ];
|
||||
# };
|
||||
|
||||
pre-commit.hooks = {
|
||||
clippy.enable = false;
|
||||
rustfmt.enable = true;
|
||||
};
|
||||
|
||||
env = {
|
||||
RUST_BACKTRACE = 1;
|
||||
};
|
||||
packages = with pkgs; [
|
||||
just
|
||||
nushell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue