Skip to content

Commit 6335979

Browse files
remove rustup from flake
1 parent a683b34 commit 6335979

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

flake.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,12 @@
164164
165165
export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct HEAD 2>/dev/null || echo "0")
166166
export TZ=UTC
167-
export RUSTUP_HOME=$PWD/.rustup
168167
export CARGO_HOME=$PWD/.cargo
169-
export PATH=$PATH:''${CARGO_HOME}/bin:''${RUSTUP_HOME}/toolchains/$RUSTC_VERSION-x86_64-unknown-linux-gnu/bin/
170-
# export CC="arm-none-eabi-gcc"
171-
export CC_thumbv7em_none_eabi="arm-none-eabi-gcc"
172168
export CARGO_NET_GIT_FETCH_WITH_CLI=true
173169
export CARGO_INCREMENTAL=0
170+
export PATH=$PATH:''${CARGO_HOME}/bin
171+
# export CC="arm-none-eabi-gcc"
172+
export CC_thumbv7em_none_eabi="arm-none-eabi-gcc"
174173
export PROBE_RS_PROTOCOL=swd
175174
export PROBE_RS_CHIP=nrf52805_xxAA
176175
'';

0 commit comments

Comments
 (0)