forked from kruzhok-team/lapki-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
32 lines (28 loc) · 817 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
{ pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
packages = [
( pkgs.vscode.fhsWithPackages (ps: with ps; ( [
# quality-of-life
git openssh nano
# base toolchain
nodejs-18_x typescript fpm
# electron runtime
pkg-config glib nss nspr at-spi2-atk
cups dbus libdrm gtk3 pango cairo
xorg.libX11 xorg.libXcomposite
xorg.libXdamage xorg.libXext
xorg.libXfixes xorg.libXrandr
xorg.libxcb libxkbcommon libGL
expat alsa-lib mesa # note: libgbm
# lapki-flasher dependencies
libusb avrdude udev
# stdenv.cc.cc systemd gdk-pixbuf
# xorg.libxshmfence xorg.libxkbfile
# zlib openssl.dev libgcrypt
])))
];
shellHook = ''
export USE_SYSTEM_FPM=true
code .
'';
}