Nix/devenv setup for the Rust Leipzig reversing meetup
- Nix 56.7%
- Shell 43.3%
| .gitignore | ||
| devenv.nix | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| setup.sh | ||
Interactive: Everything is Open Source Tool setup
Meetup: https://www.meetup.com/de-DE/rust-modern-systems-programming-in-leipzig/events/313813937/
🦀 Checks out s-m-e/everything-is-open-source and uses that checkout as the devenv root, with Rust via devenv native language support and the demo tooling.
One-liner
bash <(curl -fsSL https://git.miskam.xyz/mxm/rust-reversing-meetup/raw/branch/main/setup.sh)
Or from this setup checkout:
./setup.sh
Both create/update ./everything-is-open-source and enter the dev shell there.
Covered tools
For s-m-e/everything-is-open-source/demo-projects:
just- Rust:
rustc,cargo,clippy,rustfmt,rust-analyzer - Rust AArch64 target:
aarch64-unknown-linux-gnu - C/C++:
gcc,clang,lld - Inspection:
binutils/objdump,strip,nm,strings,file - Reversing GUI:
ghidra aarch64-linux-gnu-{gcc,objdump,strip}aliases for the justfilesqemu-aarch64wrapper: works on Linux; on macOS it explains thatrun-armneeds Linux qemu-user
Notes:
just allshould build on Linux and macOS.just run-arm ...is Linux-only in this setup, because qemu user-mode for Linux binaries is Linux-only here.
Plain nix develop does not work with devenv flakes. Use:
nix --extra-experimental-features "nix-command flakes" --accept-flake-config --no-pure-eval develop