jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
8.2k stars 192 forks source link

internal/nix: add DaemonVersion function #1959

Closed gcurtis closed 4 months ago

gcurtis commented 4 months ago

nix.DaemonVersion attempts to connect to the Nix daemon and returns its version string. Devbox will use the error from this function when configuring cache authentication: