Skip to content

Instantly share code, notes, and snippets.

@Intey
Created August 23, 2021 07:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Intey/ad8ac5bace2943228e5db0a5a54b64ad to your computer and use it in GitHub Desktop.
Save Intey/ad8ac5bace2943228e5db0a5a54b64ad to your computer and use it in GitHub Desktop.
Nix shell with ROS for development
with import (builtins.fetchTarball https://github.com/lopsided98/nix-ros-overlay/archive/master.tar.gz) {};
# when we try `with rosPackages` and specify dist in paths, we get error:
# with repl we can find needed packages
with rosPackages.noetic;
mkShell {
buildInputs = [
gtest
cmake
ninja
(buildEnv {
name = "ros";
paths = [
rosbash
roscpp
];
})
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment