Skip to content

Commit

Permalink
[nix] add envs required by mill to dev shell
Browse files Browse the repository at this point in the history
Signed-off-by: unlsycn <[email protected]>
  • Loading branch information
unlsycn committed Oct 15, 2024
1 parent a498373 commit 0470f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/chisel/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
nativeBuildInputs = [ pkgs.cargo pkgs.rustfmt pkgs.rust-analyzer ];
RUST_SRC_PATH =
"${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
} // pkgs.gcd.tb-dpi-lib.env);
} // pkgs.gcd.tb-dpi-lib.env // pkgs.gcd.gcd-compiled.env);
});
}
1 change: 1 addition & 0 deletions templates/chisel/nix/gcd/gcd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ let
});

inherit target;
inherit env;
};

shellHook = ''
Expand Down

0 comments on commit 0470f12

Please sign in to comment.