Conversation
Provides uv, a matching Python interpreter, and a Rust toolchain via a devShell, plus the shared libraries (libstdc++, zlib, openssl) that compiled Python wheels (pyarrow, duckdb, polars, ...) need at runtime but that NixOS doesn't put on a standard FHS path. Scoped to this project only via .envrc/direnv; verified end-to-end with uv sync, maturin develop, and the full pytest suite. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
flake.nix(+flake.lock) providing a devShell withuv, a matching Python interpreter, and a Rust toolchain, plus the shared libraries (libstdc++,zlib,openssl) compiled Python wheels (pyarrow, duckdb, polars, ...) need at runtime that NixOS doesn't expose on a standard FHS path..envrc(use flake) so the shell auto-loads via direnv only when inside this project directory, and unloads on leaving it — no global system changes.nix developpaths inCONTRIBUTING.md..direnv/(direnv's local, machine-specific cache).Test plan
nix developenters cleanly, providinguv,python3(3.11),rustc,cargo,pkg-configuv sync --dev --no-install-package xarray-sqlsucceeds inside the shelluv run --no-project maturin develop --uvcompiles the Rust extension successfullyuv run --no-project pytest -v . -m "not integration"passes (359 passed, 1 skipped)🤖 Generated with Claude Code