forked from lopsided98/nix-ros-overlay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
30 lines (27 loc) · 934 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
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 nixpkgs.lib;
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;
overlay = nixpkgs.lib.warn
"'nix-ros-overlay.overlay' is deprecated, use 'nix-ros-overlay.overlays.default' instead"
self.overlays.default;
nixosModule = nixpkgs.lib.warn
"'nix-ros-overlay.nixosModule' is deprecated, use 'nix-ros-overlay.nixosModules.default' instead"
self.nixosModules.default;
};
}