Include Cargo deps in Nix devshell

pull/187/head
Joseph LaFreniere 8 months ago
parent eee65bd0db
commit 4e70272946
No known key found for this signature in database
GPG Key ID: EE236AA0141EFCA3

@ -121,11 +121,10 @@
apps.default = flake-utils.lib.mkApp { drv = rga; };
# `nix develop`
devShells.default = pkgs.mkShell {
devShells.default = craneLib.devShell {
inherit (self.checks.${system}.pre-commit) shellHook;
inputsFrom = builtins.attrValues self.checks;
buildInputs = buildInputs
++ (with pkgs; [ cargo nixfmt rustc rustfmt ]);
packages = buildInputs;
};
});
}

Loading…
Cancel
Save