-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
44 lines (41 loc) · 981 Bytes
/
flake.nix
File metadata and controls
44 lines (41 loc) · 981 Bytes
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
{
description = "A Flake to manage multiple modules and configure OS tools (Chisel, CIRCT, firtool, etc.)";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
overlays = [ (import ./nix/overlay.nix) ];
pkgs = import nixpkgs {
inherit system;
overlays = overlays;
};
# Define your combined development dependencies.
softwareDeps = with pkgs; [
gtkwave
verilator
zulu8
scala
sbt
coursier
circt-full
valgrind
python310
python310Packages.pytest
];
in {
devShells = {
"${system}" = {
default = pkgs.mkShell {
buildInputs = softwareDeps;
# Set up the Ivy cache by creating a directory and exporting IVY_HOME.
shellHook = ''
export IVY_HOME=$PWD/.ivy2
mkdir -p $IVY_HOME
'';
};
};
};
};
}