Repository navigation
nix: add a development shell - #192
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.