File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 44
44
poetry2nix . defaultPoetryOverrides
45
45
] ;
46
46
} ;
47
-
48
- # This is the final list of dependencies we need to build the project.
49
- project_deps =
50
- [
47
+ in {
48
+ devShells . default = pkgs . mkShellNoCC {
49
+ name = "labenv" ;
50
+ buildInputs = with pkgs ; [
51
+ # Needed in DPI code
52
+ libelf
53
+ # Needed when running verilator with FST support
54
+ zlib
55
+ ] ;
56
+ nativeBuildInputs = with pkgs ; [
51
57
pythonEnv
52
- ]
53
- ++ ( with pkgs ; [
58
+
54
59
cmake
55
60
openocd
56
61
screen
69
74
gtkwave
70
75
srecord
71
76
openfpgaloader
72
- libelf
73
- zlib
74
77
# vivado
75
78
76
79
# Poetry tool not required, add for convience in case update is needed
77
80
poetry
78
- ] ) ;
79
- in {
80
- devShells . default = pkgs . mkShell {
81
- name = "labenv" ;
82
- buildInputs = project_deps ;
81
+
82
+ # By default mkShell adds non-interactive bash to PATH
83
+ bashInteractive
84
+ ] ;
83
85
shellHook = ''
84
86
# FIXME This works on Ubuntu, may not on other distros. FIXME
85
87
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
You can’t perform that action at this time.
0 commit comments