forked from
tranquil.farm/tranquil-pds
Our Personal Data Server from scratch!
758 B
55 lines
1{
2 mkShell,
3 callPackage,
4 rustPlatform,
5
6 # repo tooling
7 just,
8 podman,
9 podman-compose,
10
11 # rust tooling
12 clippy,
13 rustfmt,
14 rust-analyzer,
15 sqlx-cli,
16 cargo-nextest,
17
18 # nix jemalloc for some tests that use jemalloc
19 rust-jemalloc-sys,
20
21 # frontend tooling
22 svelte-language-server,
23 typescript-language-server,
24}:
25let
26 pds = callPackage ./default.nix { };
27 frontend = callPackage ./frontend.nix { };
28in
29mkShell {
30 inputsFrom = [
31 pds
32 frontend
33 ];
34
35 env = {
36 RUST_SRC_PATH = rustPlatform.rustLibSrc;
37 };
38
39 packages = [
40 just
41 podman
42 podman-compose
43
44 clippy
45 rustfmt
46 rust-analyzer
47 sqlx-cli
48 cargo-nextest
49
50 rust-jemalloc-sys
51
52 svelte-language-server
53 typescript-language-server
54 ];
55}