mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Update flake.nix
This commit is contained in:
parent
caae29d852
commit
190fcfcbb0
1 changed files with 7 additions and 6 deletions
13
flake.nix
13
flake.nix
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
description = "A basic flake with a shell";
|
description = "Tool to convert ROS package.xml to Nix expressions compatible with nix-ros-overlay";
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
inputs.nix-ros-overlay.url = "github:lopsided98/nix-ros-overlay/master";
|
inputs.nix-ros-overlay.url = "github:lopsided98/nix-ros-overlay/master";
|
||||||
inputs.nixpkgs.follows = "nix-ros-overlay/nixpkgs";
|
inputs.nixpkgs.follows = "nix-ros-overlay/nixpkgs";
|
||||||
|
@ -62,9 +62,11 @@
|
||||||
nativeBuildInputs = with pkgs.python3Packages; [
|
nativeBuildInputs = with pkgs.python3Packages; [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with pkgs; [
|
||||||
pkgs.superflore
|
git
|
||||||
pkgs.nixfmt-rfc-style
|
nix-prefetch-git
|
||||||
|
nixfmt-rfc-style
|
||||||
|
superflore
|
||||||
];
|
];
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
"--set-default ROS_HOME ${rosdep-cache}"
|
"--set-default ROS_HOME ${rosdep-cache}"
|
||||||
|
@ -75,11 +77,10 @@
|
||||||
{
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
inputsFrom = [
|
inputsFrom = [
|
||||||
|
ros2nix
|
||||||
];
|
];
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.bashInteractive
|
pkgs.bashInteractive
|
||||||
pkgs.superflore
|
|
||||||
pkgs.python3Packages.rosdep
|
|
||||||
pkgs.python3Packages.flake8
|
pkgs.python3Packages.flake8
|
||||||
pkgs.python3Packages.flake8-bugbear
|
pkgs.python3Packages.flake8-bugbear
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue