lopsided98/nix-ros-overlay

ROS overlay for the Nix package manager

What it solves

Running the Robot Operating System (ROS) typically requires Ubuntu or specific Linux distributions, making it hard to develop and run ROS packages consistently across any environment. This project uses the Nix package manager to provide a distro-agnostic way to build and run ROS packages reliably.

How it works

It acts as a Nix overlay that automatically generates and provides Nix package definitions for ROS distributions using standard ROS tools like superflore. Users can spin up fully functional ROS development environments using nix-shell or Nix flakes, and optionally speed up builds by connecting to prebuilt binary caches.

Who it’s for

It is designed for roboticists and developers who want to use ROS on non-Ubuntu Linux distributions (or other systems supported by Nix) and prefer reproducible, declarative software environments.

Highlights

  • Enables running ROS on any Linux distribution supporting the Nix package manager.
  • Provides fully functional development environments via nix-shell and Nix flakes.
  • Automatically generates Nix package definitions from standard ROS tools.
  • Supports multiple ROS distributions like Humble, Jazzy, Kilted, Lyrical, and Rolling.

Related

  • Project
  • Project
  • Project
  • Project
  • Project