{
description = "streem";
inputs = {
nixpkgs.url = "nixpkgs/nixos-26.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
packages.default = pkgs.hello;
devShell =
with pkgs;
mkShell {
nativeBuildInputs = [
cargo
cargo-outdated
cargo-zigbuild
clippy
gcc
rust-analyzer
rustc
rustfmt
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
formatter = pkgs.nixpkgs-fmt;
}
);
}