From aa3e0cb5e45cdcc1e6c1ed48c9a43511764297cc Mon Sep 17 00:00:00 2001 From: Kyle J Turpin Date: Thu, 4 Jun 2026 15:45:34 -0500 Subject: [PATCH] Update flake.nix to use latest Rust toolchain --- .cargo/config.toml | 2 +- probe-rs-nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 probe-rs-nix diff --git a/.cargo/config.toml b/.cargo/config.toml index 7995c83..14eed71 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [target.thumbv6m-none-eabi] -runner = "probe-rs run --chip RP2040" +runner = "sh ./probe-rs-nix run --chip RP2040" [build] target = "thumbv6m-none-eabi" diff --git a/probe-rs-nix b/probe-rs-nix new file mode 100755 index 0000000..eb97cc8 --- /dev/null +++ b/probe-rs-nix @@ -0,0 +1,3 @@ +#!/bin/sh +# Wrapper to run probe-rs within the Nix environment via direnv +exec direnv exec "$(dirname "$0")" probe-rs "$@"