Skip to content

Manage dev environment with Nix flake and switch to aube#21

Merged
Tiryoh merged 2 commits intomainfrom
nix-flake-aube
Apr 29, 2026
Merged

Manage dev environment with Nix flake and switch to aube#21
Tiryoh merged 2 commits intomainfrom
nix-flake-aube

Conversation

@Tiryoh
Copy link
Copy Markdown
Owner

@Tiryoh Tiryoh commented Apr 29, 2026

Summary

  • Add Nix flake providing Node.js 22 and aube, pinned via flake.lock
  • Switch dev workflow from npm to aube (compatible with existing package-lock.json)
  • Update AGENTS.md with nix develop setup and aube commands

Test plan

  • nix develop enters the dev shell with Node.js 22 and aube available
  • aube install installs dependencies
  • aube run build, aube run lint, aube run test all succeed

🤖 Generated with Claude Code

Add a Nix flake providing Node.js 22 and aube (a fast Node.js package
manager) so the dev toolchain is pinned via flake.lock. Update AGENTS.md
to document `nix develop` and replace `npm run` commands with `aube run`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings April 29, 2026 04:26
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Nix flake–based development shell for this browser-based ROS bag analyzer, pinning toolchain inputs via flake.lock, and updates agent-facing documentation to use aube for dependency install / script execution.

Changes:

  • Introduce flake.nix + flake.lock to provide a pinned dev shell with Node.js 22 and aube.
  • Package aube via a Nix derivation that fetches a prebuilt release artifact.
  • Update AGENTS.md to document nix develop and aube-based commands.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
flake.nix Defines the Nix flake outputs: aube package + default dev shell with Node.js 22 and aube.
flake.lock Pins nixpkgs and flake-utils inputs for reproducible dev environments.
AGENTS.md Updates developer/agent instructions to enter the Nix shell and use aube commands.

Comment thread flake.nix Outdated
Comment thread AGENTS.md Outdated
Drop aube from flake.nix and pin it via mise.toml instead, matching how
aube is typically managed in the wider ecosystem. The flake now only
provides Node.js 22, which is the conventional Nix pattern for npm-based
projects. npm remains a first-class option since aube is package-lock
compatible.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@Tiryoh Tiryoh merged commit 6a04a00 into main Apr 29, 2026
1 check passed
@Tiryoh Tiryoh deleted the nix-flake-aube branch April 29, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants