gevulotnetwork / gevulot

Gevulot is an internet scale compute network for zero-knowledge proof generation and verification.
https://gevulot.com
Apache License 2.0
154 stars 48 forks source link

fix: dynamic QEMU path resolution #198

Closed vlopes11 closed 4 months ago

vlopes11 commented 4 months ago

Prior to this commit, it is assumed that the QEMU binary resides within the canonical Linux path. However, certain systems like NixOS may place QEMU in a local user folder instead of the global /usr/bin path, causing an error when attempting to locate the QEMU binary.

This change incorporates a which command, which searches through the current PATH environment variable and identifies the location of the QEMU binary.