From 2cb08814e8fac7da26d7d49b729ab38ead2078a0 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 21 Apr 2022 23:47:23 +0100 Subject: [PATCH] flake: Add compiler test prerequisites to devShell Useful while working on the legacy compiler. --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 36e223d53..a455c5a94 100644 --- a/flake.nix +++ b/flake.nix @@ -426,6 +426,10 @@ pkgs.llvmPackages_11.clang-unwrapped pkgs.llvm_11 pkgs.lld_11 + # To manually run compiler tests: + pkgs.lit + outputcheck + libartiq-support # use the vivado-env command to enter a FHS shell that lets you run the Vivado installer packages.x86_64-linux.vivadoEnv packages.x86_64-linux.vivado @@ -433,6 +437,9 @@ pkgs.python3Packages.sphinx pkgs.python3Packages.sphinx_rtd_theme pkgs.python3Packages.sphinx-argparse sphinxcontrib-wavedrom latex-artiq-manual ]; + shellHook = '' + export LIBARTIQ_SUPPORT=`libartiq-support` + ''; }; hydraJobs = {