flake update

This commit is contained in:
Robin Appelman 2025-06-02 22:51:40 +02:00
commit 7bdc2887c4
5 changed files with 2239 additions and 83 deletions

View file

@ -1,38 +1,14 @@
{
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "nixpkgs/release-22.11";
rust-overlay.url = "github:oxalica/rust-overlay";
nixpkgs.url = "nixpkgs/nixos-25.05";
flakelight = {
url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs";
};
mill-scale = {
url = "git+https://codeberg.org/icewind/mill-scale";
inputs.flakelight.follows = "flakelight";
};
};
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; [
# rust-bin.stable.latest.default
bacon
cargo-edit
cargo-outdated
clippy
cargo-audit
cargo-msrv
valgrind
hyperfine
cargo-expand
rustup
cargo-insta
];
};
});
outputs = {mill-scale, ...}: mill-scale ./. {};
}