Zed: Difference between revisions

Clarify origin of static zed remote server binary
mNo edit summary
Line 54: Line 54:
</syntaxhighlight>
</syntaxhighlight>


If the version does not match, Zed will try to upload the binary itself (as the existing remote binary has a version-specific name), and in this particular example fail to do so because we symlinked `.zed_server` to a read-only directory in the Nix store.
If the version does not match, Zed will try to upload the binary itself (as the existing remote binary has a version-specific name), and in this particular example fail to do so because we symlinked <code>.zed_server</code> to a read-only directory in the Nix store.


Alternatively, you may choose to only symlink the binary and not the directory, so Zed will successfully fall back to its own binary upload if the remote package version does not match:
Alternatively, you may choose to only symlink the binary and not the directory, so Zed will successfully fall back to its own binary upload if the remote package version does not match: