From 721206ec44a9863259fe4c96967735a31127ac0a Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Sun, 4 Jan 2026 17:55:23 +0100 Subject: [PATCH 1/2] Update docker build instructions --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b094ef..f3cdc05 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,11 @@ There are three ways of building the required restream binary for streaming the You can use the [toltec toolchain docker images](https://github.com/toltec-dev/toolchain) to build a restream binary compatible with the reMarkable. ``` - docker run --rm -v $(pwd):/project -v /project/.cargo -w "/project" ghcr.io/toltec-dev/rust:latest cargo build --release --target=armv7-unknown-linux-gnueabihf + docker run --rm -v "$(pwd)":/project -v /project/.cargo -w /project \ + ghcr.io/toltec-dev/rust:latest bash -c ' + source /opt/x-tools/switch-arm.sh + cargo build --release --target=armv7-unknown-linux-gnueabihf + ' ``` - **Using the reMarkable toolchain:** From 82dd7e5e585c329dd6ed1b64969250895796460f Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Sun, 4 Jan 2026 22:36:09 +0100 Subject: [PATCH 2/2] Fix build by switching to toltech-dev via docker --- .github/workflows/check.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a4bf63c..6da5a1f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -43,9 +43,8 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v14.1 - with: - nix_path: nixpkgs=channel:nixos-unstable - - - run: nix-shell - - run: cargo build + - run: | + docker run -v $GITHUB_WORKSPACE:/mnt -w /mnt ghcr.io/toltec-dev/rust:latest bash -c ' + source /opt/x-tools/switch-arm.sh + cargo build --release --target=armv7-unknown-linux-gnueabihf + '