lore-forge/shell.nix

43 lines
885 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
let
fhsEnv = pkgs.buildFHSEnv {
name = "kilo-fhs";
targetPkgs =
pkgs: with pkgs; [
nodejs_20
stdenv.cc.cc.lib
zlib
git-lfs
fzf
cloc
tinycc
gleam
erlang
# Wayland development
wayland
wayland.dev
wayland-protocols
nmap
wayland-scanner
pkg-config
libxkbcommon
clang
# lore-forge: Rust (rustup uses the toolchains in ~/.rustup; default stable),
# protoc for Lore's user.proto, sqlite3 for inspecting run/forge-data,
# openssl for run/pull-tls.sh's certificate checks, zip and unzip for
# scripts/build-desktop-dist.sh.
rustup
protobuf
sqlite
openssl
zip
unzip
];
runScript = "bash";
};
in
fhsEnv.env