From f865711a16cf2b1c7e9cdf67e0069ff897058ab2 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Wed, 21 Feb 2024 18:35:58 +0100 Subject: [PATCH] feat: add modelsim.ini to questa package --- flake.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 824df22..0e9d5cf 100644 --- a/flake.nix +++ b/flake.nix @@ -172,7 +172,16 @@ questa = pkgs.buildEnv { name = "questa"; - paths = wrappedQuestaScripts; + paths = wrappedQuestaScripts ++ [ + (pkgs.writeTextFile { + name = "modelsim.ini"; + text = '' + Dummy ini + # For VUnit to find ModelSim. + ''; + destination = "/modelsim.ini"; + }) + ]; meta = { description = "Environment containing QuestaSim/ModelSim executable files."; -- 2.48.1