mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
41 lines
811 B
Nix
41 lines
811 B
Nix
let
|
|
# Pinned nixpkgs, deterministic. Last updated: 11-08-2023.
|
|
pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/bb9707ef2ea4a5b749b362d5cf81ada3ded2c53f.tar.gz")) {};
|
|
|
|
# Rolling updates, not deterministic.
|
|
# pkgs = import (fetchTarball("channel:nixpkgs-unstable")) {};
|
|
in pkgs.mkShell {
|
|
name = "revoltEnv";
|
|
|
|
# LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
|
# pkgs.gcc-unwrapped
|
|
# pkgs.zlib
|
|
# pkgs.glib
|
|
# pkgs.libGL
|
|
# ];
|
|
|
|
buildInputs = [
|
|
# Tools
|
|
pkgs.git
|
|
|
|
# Database
|
|
# pkgs.mongodb
|
|
|
|
# Cargo
|
|
pkgs.cargo
|
|
pkgs.cargo-nextest
|
|
|
|
# Rust
|
|
pkgs.rustc
|
|
pkgs.clippy
|
|
pkgs.rustfmt
|
|
pkgs.pkgconfig
|
|
pkgs.openssl.dev
|
|
|
|
# mdbook
|
|
pkgs.mdbook
|
|
];
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
|
}
|