mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
* chore: add nix-shell development environment * chore: add rust-analyzer * chore: use .envrc as a private file
23 lines
456 B
Nix
23 lines
456 B
Nix
let
|
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-unstable";
|
|
fenix = import (fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz") {};
|
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
|
in
|
|
|
|
pkgs.mkShellNoCC {
|
|
packages = with pkgs; [
|
|
git
|
|
clang
|
|
gcc
|
|
mold
|
|
libgit2
|
|
protobuf
|
|
(fenix.fromToolchainFile {
|
|
dir = ./.;
|
|
})
|
|
fenix.rust-analyzer
|
|
cargo-nextest
|
|
];
|
|
|
|
}
|