-
Notifications
You must be signed in to change notification settings - Fork 214
/
shell.nix
46 lines (40 loc) · 1.13 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
nativeBuildInputs = [
clang
cmake
ninja
pkg-config
gtk3 # Curiously `nix-env -i` can't handle this one adequately.
# But `nix-shell` on this shell.nix does fine.
pcre
epoxy
# This group all seem not strictly necessary -- commands like
# `flutter run -d linux` seem to *work* fine without them, but
# the build does print messages about missing packages, like:
# Package mount was not found in the pkg-config search path.
# Perhaps you should add the directory containing `mount.pc'
# to the PKG_CONFIG_PATH environment variable
# To add to this list on NixOS upgrades, the Nix package
# `nix-index` is handy: then `nix-locate mount.pc`.
libuuid # for mount.pc
xorg.libXdmcp.dev
python310Packages.libselinux.dev # for libselinux.pc
libsepol.dev
libthai.dev
libdatrie.dev
libxkbcommon.dev
dbus.dev
at-spi2-core.dev
xorg.libXtst.out
pcre2.dev
jdk11
android-studio
android-tools
];
LD_LIBRARY_PATH = lib.makeLibraryPath [
fontconfig.lib
sqlite.out
];
}