Files
nuchat/flake.nix
Fergus Molloy 9a2caf0921
Some checks failed
Cargo / build (push) Failing after 2m55s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
spawn app for each integration test
also adds missing dep to flake
2025-07-18 09:04:37 +01:00

42 lines
876 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
nixpkgs,
flake-utils,
rust-overlay,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
overlays = [ (import rust-overlay) ];
pkgs = import nixpkgs { inherit system overlays; };
in
{
devShells = {
default = pkgs.mkShell {
buildInputs = with pkgs; [
pkg-config
rust-bin.stable.latest.default
rust-analyzer
cargo-nextest
clang
llvmPackages.bintools
nodejs
pnpm
just
openssl
];
};
};
}
);
}