# remote: Support building x86_64-linux-musl proxy in nix-darwin \(\#41291\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/fdf5bf7e6a6166951c71d44ac077933cc78dd40e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: fdf5bf7e6a6166951c71d44ac077933cc78dd40e

Requested commit: fdf5bf7e6a6166951c71d44ac077933cc78dd40e

Commit: fdf5bf7e6a6166951c71d44ac077933cc78dd40e

Tree: 3b7b0bf2262e790701f95507ebb13256418819ba

Author: Jakub Konka

Committer: GitHub

## Message

```
remote: Support building x86_64-linux-musl proxy in nix-darwin (#41291)

This change adds two things to our remote server build
process:
1. It now checks if all required tooling is installed before using it or installing it on demand. This includes checks for `rustup` and `cargo-zigbuild` in your `PATH`.
2. Next, if `ZED_BUILD_REMOTE_SERVER` contains `musl` and `ZED_ZSTD_MUSL_LIB`
is set, we will pass its value (the path) to `cargo-zigbuild` as `-C
link-arg=-L{path}`.

Release Notes:

- N/A
```

## Parents

- [c94536a2d6352867edfa471c1e7c3840ec4f7be7](https://git.cafe/gitcafe/zed/commit/c94536a2d6352867edfa471c1e7c3840ec4f7be7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/fdf5bf7e6a6166951c71d44ac077933cc78dd40e?format=markdown)
