Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Both environment entry points bypass Git filtering, potentially exposing private local data and unnecessarily copying generated files into the Nix store.
1 open issue
What changed in this PR
Adds a pinned Nix development environment for ROS 2 Lyrical and Oslo commands for building, testing, and launching Vixel, while leaving .envrc unchanged.
Changes:
- Defines an x86_64 Linux development shell with ROS and supporting tools.
- Adds Oslo environment loading and build, test, and launch recipes.
- Ignores local configuration, runtime state, logs, and captures.
| File | Description |
|---|---|
flake.nix |
Defines the ROS development shell and binary caches. |
flake.lock |
Pins the Nix and ROS dependency inputs. |
.make.lua |
Adds Oslo build, test, and launch recipes. |
.gitignore |
Excludes local configuration and generated data. |
.env.lua |
Loads the Nix environment through Oslo. |
Review effort: Balanced
|
|
||
| -- Invoke ROS tools in this project's Nix environment; no shell wrapper needed. | ||
| local function ros(...) | ||
| local argv = { "nix", "develop", "path:.", "--accept-flake-config", "--command" } |
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.

Adds a pinned ROS 2 Lyrical environment and Oslo build, test, and run commands. Keeps the existing .envrc unchanged. Tested on NixOS: 184 tests passed