so like, there!s errrors but idc and its late and im eepi

This commit is contained in:
benstrb 2026-04-06 00:33:46 +02:00
parent f7a83875aa
commit 242f218a62
15 changed files with 2920 additions and 2 deletions

19
.direnv/bin/nix-direnv-reload Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -e
if [[ ! -d "/mnt/verbatim/projects/rust/stm32f469ni" ]]; then
echo "Cannot find source directory; Did you move it?"
echo "(Looking for "/mnt/verbatim/projects/rust/stm32f469ni")"
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
exit 1
fi
# rebuild the cache forcefully
_nix_direnv_force_reload=1 direnv exec "/mnt/verbatim/projects/rust/stm32f469ni" true
# Update the mtime for .envrc.
# This will cause direnv to reload again - but without re-building.
touch "/mnt/verbatim/projects/rust/stm32f469ni/.envrc"
# Also update the timestamp of whatever profile_rc we have.
# This makes sure that we know we are up to date.
touch -r "/mnt/verbatim/projects/rust/stm32f469ni/.envrc" "/mnt/verbatim/projects/rust/stm32f469ni/.direnv"/*.rc