Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 13 lines 653 B view raw
1diff --git a/cdv/cmds/sim_utils.py b/cdv/cmds/sim_utils.py 2index e59ba8f..20912ff 100644 3--- a/cdv/cmds/sim_utils.py 4+++ b/cdv/cmds/sim_utils.py 5@@ -67,7 +67,7 @@ async def start_async(root_path: Path, group: Any, restart: bool) -> None: 6 7 from chia.cmds.start_funcs import async_start 8 9- sys.argv[0] = str(Path(sys.executable).parent / "chia") # this gives the correct path to the chia executable 10+ sys.argv[0] = "@chia@/bin/chia" # this gives the correct path to the chia executable 11 if root_path.exists(): 12 config = load_config(root_path, "config.yaml") 13 await async_start(root_path, config, group, restart)