From 38bb1a6335ec7da32451fce2b8416a7a6b904f95 Mon Sep 17 00:00:00 2001 From: Avimitin Date: Tue, 19 Dec 2023 13:11:18 +0800 Subject: [PATCH] symlink all llvm and circt stuff together Signed-off-by: Avimitin --- flake.nix | 2 +- overlay.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 038deb84e69..046a558b3e5 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,7 @@ devShell = pkgs.mkShell { buildInputs = deps; env = { - CIRCT_INSTALL_PATH = pkgs.circt; + CIRCT_INSTALL_PATH = pkgs.circt-all; }; }; } diff --git a/overlay.nix b/overlay.nix index 7f810829339..d75d85d5fc2 100644 --- a/overlay.nix +++ b/overlay.nix @@ -39,4 +39,15 @@ final: prev: substituteInPlace cmake/modules/GenVersionFile.cmake --replace "unknown git version" "nightly" ''; }); + circt-all = final.symlinkJoin { + name = "circt-all"; + paths = with final; [ + circt + circt.dev + circt.lib + circt.llvm + circt.llvm.dev + circt.llvm.lib + ]; + }; }