Skip to content

Commit d4556b2

Browse files
unlsycnAvimitin
authored andcommitted
[nix] add envs required by mill to dev shell
Signed-off-by: unlsycn <[email protected]>
1 parent 339886e commit d4556b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

templates/chisel/flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
nativeBuildInputs = [ pkgs.cargo pkgs.rustfmt pkgs.rust-analyzer ];
3030
RUST_SRC_PATH =
3131
"${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
32-
} // pkgs.gcd.tb-dpi-lib.env);
32+
} // pkgs.gcd.tb-dpi-lib.env // pkgs.gcd.gcd-compiled.env);
3333
});
3434
}

templates/chisel/nix/gcd/gcd.nix

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ let
5656
});
5757

5858
inherit target;
59+
inherit env;
5960
};
6061

6162
shellHook = ''

0 commit comments

Comments
 (0)