flake update

This commit is contained in:
Robin Appelman 2023-03-05 22:21:59 +01:00
commit fe6c884d4e
2 changed files with 70 additions and 4 deletions

View file

@ -2,21 +2,36 @@
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "nixpkgs/release-22.11";
rust-overlay.url = "github:oxalica/rust-overlay";
};
outputs = {
self,
nixpkgs,
utils,
rust-overlay,
}:
utils.lib.eachDefaultSystem (system: let
pkgs = (import nixpkgs) {
inherit system;
overlays = [rust-overlay.overlays.default];
};
in rec {
# `nix develop`
devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [rustc cargo bacon cargo-edit cargo-outdated clippy cargo-audit cargo-msrv valgrind hyperfine];
nativeBuildInputs = with pkgs; [
# rust-bin.stable.latest.default
bacon
cargo-edit
cargo-outdated
clippy
cargo-audit
cargo-msrv
valgrind
hyperfine
cargo-expand
rustup
];
};
});
}