diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml
index 4f5620b8e..fbdbd41a6 100644
--- a/.github/workflows/build-all.yml
+++ b/.github/workflows/build-all.yml
@@ -97,6 +97,7 @@ jobs:
     - name: Build Rust dependencies (Linux)
       if: ${{ contains(matrix.os-name, 'linux') }}
       run: |
+        apt update && apt install -y musl-dev
         export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc
         export CC=aarch64-linux-gnu-gcc
         cargo build --target aarch64-unknown-linux-musl --release