add cargo to dev shell #39

Merged
irgendwas merged 1 commit from nix-update-dev-shell into main 2025-04-04 13:07:29 +02:00
Showing only changes of commit b63607ff68 - Show all commits

View file

@ -24,16 +24,19 @@
packages = with pkgs; [
corepack_latest
nodejs
cargo
clippy
];
};
}
);
formatter = forSystems (
packages = forSystems (
system:
let
pkgs = pkgs' system;
in
pkgs.treefmt.withConfig {
{
fmt = pkgs.treefmt.withConfig {
runtimeInputs = with pkgs; [
nixfmt-rfc-style
nodePackages.prettier
@ -75,7 +78,15 @@
};
};
};
};
}
);
formatter = forSystems (
system:
let
pkgs = pkgs' system;
in
self.outputs.packages.${system}.fmt
);
};
}