forked from project-chip/rs-matter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
49 lines (43 loc) · 1.07 KB
/
shell.nix
File metadata and controls
49 lines (43 loc) · 1.07 KB
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
{ pkgs ? import <nixpkgs> {
overlays = [
(import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
];
}
}:
(pkgs.buildFHSEnv {
name = "rs-matter-test-env";
runScript = builtins.getEnv "SHELL";
targetPkgs = pkgs: with pkgs; [
# rust support
rust-bin.stable.latest.default
# Provide non-privileged execution of `ip` commands
iproute2
iptables
# connectedhomeip requirements
bash
git
gcc
glib
glib.dev
pkg-config
cmake
ninja
gn
gobject-introspection.dev
gobject-introspection.out
openssl.dev
dbus.dev
avahi.dev
unzip
cairo.dev
readline.dev
jre
libffi.dev
zap-chip
## python support
# Note: python 3.11 is required due to the deprecation of the `imp` module in newer versions of python.
python311
python311Packages.pip
python311Packages.virtualenv
];
}).env