Skip to content

Add Nix and Oslo support - #1

Open
bresilla wants to merge 1 commit into
sn3rt:mainfrom
bresilla:nix-ros-oslo
Open

bresilla wants to merge 1 commit into
sn3rt:mainfrom
bresilla:nix-ros-oslo

Conversation

@bresilla

Copy link
Copy Markdown

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

Copilot AI balanced review requested due to automatic review settings October 22, 2026 13:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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

Comment thread .make.lua

-- 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" }
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