-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathshell.nix
49 lines (47 loc) · 960 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Nix shells are used to create a confined development environment, with
# everything needed to develop or build the software.
#
# To create the shell, run `nix-shell ./shell.nix`.
#
# This command will place you in a development shell with all the
# following packages at your disposal.
#
# More info:
# - What is NixOS: https://nixos.org/
# - What is nix-shell: https://nixos.org/manual/nix/stable/command-ref/nix-shell.html
#
{ pkgs ? import <nixpkgs> {} }:
let
pythonEnv = pkgs.python3.withPackages(p: with p; [
#kaleido
ipykernel
jstyleson
matplotlib
nbformat
numpy
pandas
plotly
#plyfile
scipy
]);
in
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
cmake
gcc13
gdb
git
gnupatch
gsl
libclang
libxml2
ninja
pkg-config
pythonEnv
rapidjson
valgrind
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/ns3/build/lib
'';
}