-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell.nix
More file actions
52 lines (49 loc) · 985 Bytes
/
shell.nix
File metadata and controls
52 lines (49 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
awscli2,
beamPackages,
callPackage,
esbuild,
inotify-tools,
mkShell,
nixfmt,
python3,
stdenv,
tailwindcss_4,
watchman,
writeShellApplication,
}:
let
system = stdenv.hostPlatform.system;
rustfs =
(builtins.getFlake "github:rustfs/rustfs/f4028a46412434d78fa0c2a30e041f5e62f7d2aa")
.packages.${system}.default;
s3dev = writeShellApplication {
name = "s3dev";
text = ''
mkdir -p /tmp/rustfs-buckets/klix-dev
${rustfs}/bin/rustfs /tmp/rustfs-buckets
'';
};
in
mkShell {
shellHook = ''
export ERL_AFLAGS="-kernel shell_history enabled"
export ESBUILD_VERSION="${esbuild.version}"
export TAILWIND_VERSION="${tailwindcss_4.version}"
'';
packages = [
(callPackage postgres/start.nix { })
(callPackage postgres/stop.nix { })
awscli2
beamPackages.elixir
beamPackages.elixir-ls
esbuild
inotify-tools
nixfmt
python3
rustfs
s3dev
tailwindcss_4
watchman
];
}