chore: add flake.lock for reproducible nix devShell#12
Open
JacobPEvans-personal wants to merge 2 commits into
Open
chore: add flake.lock for reproducible nix devShell#12JacobPEvans-personal wants to merge 2 commits into
JacobPEvans-personal wants to merge 2 commits into
Conversation
Auto-generated by `nix develop` resolving flake.nix inputs (nix-devenv + nixpkgs-25.11-darwin). Commit per Nix convention so every contributor resolves the same devShell toolchain versions. Assisted-by: Claude <noreply@anthropic.com>
The previous lock pulled nix-devenv's ROOT flake, which imports cachix/devenv to support its Python/AI shells (ai-dev, orchestrator, mlx-server). devenv drags in cachix x3, gitignore x5, nixpkgs x5, git-hooks x3, flake-compat x3, pre-commit-hooks x2, etc. — none sharing `follows` declarations, so we locked the full transitive soup: 889 lines, ~30 distinct input fetches. The typescript shell doesn't need any of that. `shells/typescript/` in nix-devenv is a standalone subflake whose only input is nixpkgs (see nix-devenv/main/shells/typescript/flake.nix:5). Switch to that subflake via `?dir=shells/typescript` and follows our root nixpkgs into it. Result: - 889 → 50 lines - 30+ input fetches → 2 (nixpkgs + the subflake itself) - One nixpkgs, used everywhere The devShell content is identical (same default.nix imported either way); only the lock graph shrinks. `nix flake check` passes; `devShells.<system>.default` still resolves to the same TypeScript shell (nodejs_22, pnpm, typescript, biome). Assisted-by: Claude <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.
Auto-generated by
nix developresolving flake.nix inputs (nix-devenvresolves the same devShell toolchain versions.
Assisted-by: Claude noreply@anthropic.com