-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
34 lines (32 loc) · 892 Bytes
/
shell.nix
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
# If you're a non-nix user, you'll need:
# - bun (whatever the latest version is)
# - node js version 20
# - flyctl (if you plan on deploying to fly.io)
# - libgcc is just there because some neovim plugins need it
# Help! I'm a nix user and it isn't working!
#
# try running these commands:
# sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
# sudo nix-channel --update
# then run nix-shell again
let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in
{ nixpkgs ? import <nixpkgs> { } }:
with nixpkgs; mkShell {
DOCKER_BUILDKIT = "1";
buildInputs = [
unstable.bun
nodejs_20
flyctl
libgcc
typescript-language-server
typescript
nodePackages.typescript-language-server
tailwindcss
tailwindcss-language-server
# optional if you want to make videos
# asciinema-agg
# asciinema
];
}