mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-09 17:42:22 +03:00
22 lines
571 B
Nix
22 lines
571 B
Nix
{
|
|
description = "ROS overlay for the Nix package manager";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:lopsided98/nixpkgs/nix-ros";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
with flake-utils.lib;
|
|
eachSystem allSystems (system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
overlays = [ self.overlays.default ];
|
|
};
|
|
in {
|
|
legacyPackages = pkgs.rosPackages;
|
|
}) // {
|
|
overlays.default = import ./overlay.nix;
|
|
nixosModules.default = import ./modules;
|
|
};
|
|
}
|