-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathflake.nix
39 lines (37 loc) · 1.06 KB
/
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
31
32
33
34
35
36
37
38
39
{
description = "ROS integration for Franka research robots";
inputs.nix-ros-overlay.url = "github:lopsided98/nix-ros-overlay/master";
outputs =
{ nix-ros-overlay, self, ... }:
nix-ros-overlay.inputs.flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nix-ros-overlay.inputs.nixpkgs {
inherit system;
overlays = [ nix-ros-overlay.overlays.default ];
};
in
{
packages = {
default = self.packages.${system}.franka-description;
franka-description = pkgs.rosPackages.humble.franka-description.overrideAttrs {
src = pkgs.lib.fileset.toSource {
root = ./.;
fileset = pkgs.lib.fileset.unions [
./CMakeLists.txt
./end_effectors
./env-hooks
./launch
./meshes
./package.xml
./robots
./rviz
./scripts
./test
];
};
};
};
}
);
}