2026-02-07 20:18:17 -08:00
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}: rec {
|
2026-02-08 23:47:57 -08:00
|
|
|
# https://devenv.sh/processes/
|
2026-02-16 00:05:57 -08:00
|
|
|
processes.lspmux.exec = "lspmux server";
|
2026-02-08 23:47:57 -08:00
|
|
|
processes.spacetimedb_start.exec = "spacetime start";
|
2026-02-13 08:16:41 -08:00
|
|
|
processes.spacetimedb_dev = {
|
2026-02-16 00:05:57 -08:00
|
|
|
exec = "just spacetime_dev";
|
2026-02-08 23:47:57 -08:00
|
|
|
# notify.enable = true;
|
|
|
|
|
# TODO features not yet supp???
|
|
|
|
|
# restart = "always";
|
|
|
|
|
# watch = {
|
|
|
|
|
# paths = [./jong];
|
|
|
|
|
# };
|
|
|
|
|
};
|
2026-02-24 17:18:31 -08:00
|
|
|
processes.tail_log.exec = "tail -f jong.log";
|
2026-02-08 23:47:57 -08:00
|
|
|
|
2026-02-07 20:18:17 -08:00
|
|
|
# https://devenv.sh/packages/
|
|
|
|
|
packages = with pkgs; [
|
2026-02-20 15:36:04 -08:00
|
|
|
lspmux
|
2026-02-07 20:18:17 -08:00
|
|
|
pkg-config
|
|
|
|
|
|
|
|
|
|
# spacetimedb
|
|
|
|
|
openssl
|
|
|
|
|
binaryen
|
2026-02-22 00:39:51 -08:00
|
|
|
# spacetimedb
|
2026-02-07 20:18:17 -08:00
|
|
|
|
|
|
|
|
# bevy Linux
|
|
|
|
|
# Audio (Linux only)
|
|
|
|
|
alsa-lib
|
|
|
|
|
# Cross Platform 3D Graphics API
|
|
|
|
|
vulkan-loader
|
|
|
|
|
# For debugging around vulkan
|
|
|
|
|
vulkan-tools
|
|
|
|
|
# Other dependencies
|
|
|
|
|
libudev-zero
|
|
|
|
|
xorg.libX11
|
|
|
|
|
xorg.libXcursor
|
|
|
|
|
xorg.libXi
|
|
|
|
|
xorg.libXrandr
|
|
|
|
|
libxkbcommon
|
|
|
|
|
wayland
|
|
|
|
|
];
|
|
|
|
|
env.LD_LIBRARY_PATH = lib.makeLibraryPath packages;
|
|
|
|
|
env.RUST_LOG = "jong=trace";
|
2026-03-02 14:19:00 -08:00
|
|
|
env.RUST_BACKTRACE = "full";
|
2026-02-07 20:18:17 -08:00
|
|
|
|
|
|
|
|
# https://devenv.sh/languages/
|
|
|
|
|
languages.rust = {
|
|
|
|
|
enable = true;
|
|
|
|
|
channel = "nightly";
|
|
|
|
|
version = "latest";
|
|
|
|
|
targets = ["x86_64-unknown-linux-gnu" "wasm32-unknown-unknown"];
|
|
|
|
|
components = ["rust-src" "rust-docs" "rustc-codegen-cranelift" "rust-analyzer" "rustfmt"];
|
|
|
|
|
};
|
|
|
|
|
|
2026-02-08 23:47:57 -08:00
|
|
|
process.manager.implementation = "mprocs";
|
|
|
|
|
process.managers.mprocs.settings = {
|
|
|
|
|
server = "127.0.0.1:4050";
|
2026-02-07 20:18:17 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# https://devenv.sh/services/
|
|
|
|
|
# https://devenv.sh/scripts/
|
|
|
|
|
# https://devenv.sh/basics/
|
|
|
|
|
# https://devenv.sh/tasks/
|
|
|
|
|
# https://devenv.sh/tests/
|
|
|
|
|
# https://devenv.sh/git-hooks/
|
|
|
|
|
# See full reference at https://devenv.sh/reference/options/
|
|
|
|
|
}
|