nix: add a development shell #192
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/192"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by gtb-sbe on 2026-11-25T19:32:00Z.
Summary
Adds a Nix flake with a development shell for x86-64 Linux: Rust 1.95 with the Linux and MSVC targets, Python 3.12 with pefile,
clang-cl,lld-link, LLVM, DXC, cargo-xwin, Vulkan headers, umu-launcher, Bubblewrap, xvfb-run, Xwayland, MangoHud and zenity.nix developopens the shell;.envrcloads it through direnv.tuxbox-fhs <command>runs a command in an FHS environment. The regression and translator checks start Proton'swinedirectly, which NixOS cannot run otherwise.examples/lanes/README.mdhas a short note. The Windows SDK and Proton Experimental are still set up separately.No runtime, translator or launcher code changes.
Verified on Lanes
python tuxbox.py checkpassed on this branchThis only adds development tooling, so there is no runtime behaviour for a Lanes scenario to cover.
The gate ran through
tuxbox-fhs. One regression control,buffer-remap, fails with "remap readback differs"; the other 16 pass. It also failed on this machine on7b22d71without these changes, understeam-run. I have not found the cause.GPU, driver and backend: Radeon RX 9060 XT, RADV (Mesa 26.2.6), Proton Experimental
experimental-11.0-20261112, NixOS, kernel 6.18.60Checks
nix flake checkalso passes. No evidence JSON changed.