From 63ccc3787450a22b8e9752f396eed11da62af9d2 Mon Sep 17 00:00:00 2001 From: ctkiku Date: Wed, 30 Sep 2026 11:57:59 +0300 Subject: [PATCH] nix: explicitly set runtime executables via env Bazel sets these variables, mirror that behaviour in Nix in preparation of making the build more environment-agnostic. Signed-off-by: ctkiku --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index f6fba52b27..5728000bff 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,10 @@ pkgs.python3Packages.pyyaml pkgs.python3Packages.yamlfix ]; + OPENROAD_EXE = "${openroad.packages.${system}.default}/bin/openroad"; + OPENSTA_EXE = "${openroad.packages.${system}.default}/bin/sta"; + YOSYS_EXE = "${yosys.packages.${system}.default}/bin/yosys"; + PYTHON_EXE = "${pkgs.python3}/bin/python3"; }; } );