yosys: set YOSYS_PLUGIN_PATH

This allows `plugin -i slang.so` (and similar) to work in TCL scripts
without requiring an absolute path to the plugin.

Signed-off-by: Emin <me@emin.chat>
This commit is contained in:
Emin
2026-03-02 11:30:31 +08:00
parent 93178f6a00
commit 60270b0be2
+1
View File
@@ -50,6 +50,7 @@ let
postBuild = ''
wrapProgram $out/bin/yosys \
--set YOSYS_PATH $out/share/yosys \
--set YOSYS_PLUGIN_PATH ${pluginPath} \
${module_flags}
'';
meta.mainProgram = "yosys";