Add GitHub action dev shell to flake

This commit is contained in:
Ben Wolsieffer 2024-11-17 12:25:57 -05:00
parent c1fc199dc6
commit 2c5bb60569
2 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,9 @@
{ pkgs ? import <nixpkgs> {} }: with pkgs;
{ mkShell, nodejs, cachix }:
mkShell {
buildInputs = [
name = "nix-ros-build-action-shell";
packages = [
nodejs
cachix
];

View file

@ -21,6 +21,9 @@
example-turtlebot3-gazebo = import ./examples/turtlebot3-gazebo.nix { inherit pkgs; };
example-ros2-basic = import ./examples/ros2-basic.nix { inherit pkgs; };
example-ros2-gz = import ./examples/ros2-gz.nix { inherit pkgs; };
# Development environment for the custom GitHub action
nix-ros-build-action = pkgs.callPackage ./.github/actions/nix-ros-build-action/shell.nix { };
};
}) // {
overlays.default = import ./overlay.nix;