mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Initial commit
This commit is contained in:
commit
94a71fa564
5 changed files with 483 additions and 0 deletions
29
flake.nix
Normal file
29
flake.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
description = "A basic flake with a shell";
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
inputs.nix-ros-overlay.url = "github:lopsided98/nix-ros-overlay/master";
|
||||
inputs.nixpkgs.follows = "nix-ros-overlay/nixpkgs";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, flake-utils, nix-ros-overlay, ... }:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ nix-ros-overlay.overlays.default ];
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
inputsFrom = [
|
||||
];
|
||||
packages = [
|
||||
pkgs.bashInteractive
|
||||
pkgs.superflore
|
||||
pkgs.python3Packages.rosdep
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue