AdventOfCode-Rust/flake.nix
Drew Haven bc3ea85dae
Some checks failed
Continuous Integration / Continuous Integration (push) Failing after 1m2s
Adds cargo and adds nix to editor config.
2025-12-11 16:34:08 -08:00

32 lines
532 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
utils,
}:
utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShell =
with pkgs;
mkShell {
buildInputs = [
rustc
cargo
clippy
rustfmt
];
};
}
);
}