Skip to content

Commit cecfe1a

Browse files
committed
fix(macos): try using branch of nix-ros-overlay
1 parent 4f6d3e0 commit cecfe1a

1 file changed

Lines changed: 8 additions & 21 deletions

File tree

flake.nix

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,17 @@
22
description = "Example superbuild environment and controller with mc-panda and macos support";
33

44
inputs = {
5-
mc-rtc-nix.url = "github:mc-rtc/nixpkgs";
6-
flake-parts.follows = "mc-rtc-nix/flake-parts";
7-
systems.follows = "mc-rtc-nix/systems";
8-
9-
# fix for libttng support in ROS2
5+
# 1. Point the top-level input directly to the PR
106
nix-ros-overlay.url = "github:lopsided98/nix-ros-overlay/pull/561/head";
117

12-
# You can override dependencies from a commit/pull request by:
13-
# Adding it as input
14-
# your-repository.url = "github:username/repository/pull/ID/head";
15-
# your-repository.flake = true; # use false if the repository does not have a flake
16-
};
8+
# 2. Tell mc-rtc-nix to use YOUR nix-ros-overlay PR instead of its default one
9+
mc-rtc-nix = {
10+
url = "github:mc-rtc/nixpkgs";
11+
inputs.nix-ros-overlay.follows = "nix-ros-overlay";
12+
};
1713

18-
nixConfig = {
19-
extra-substituters = [
20-
"https://mc-rtc-nix.cachix.org"
21-
"https://gepetto.cachix.org"
22-
"https://attic.iid.ciirc.cvut.cz/ros"
23-
];
24-
extra-trusted-public-keys = [
25-
"mc-rtc-nix.cachix.org-1:5M3sLvHXJCep4wc1tQl7QuFWL2eH2I0jkuvWtqJDYQs="
26-
"gepetto.cachix.org-1:toswMl31VewC0jGkN6+gOelO2Yom0SOHzPwJMY2XiDY="
27-
"ros:JR95vUYsShSqfA1VTYoFt1Nz6uXasm5QrcOsGry9f6Q="
28-
];
14+
flake-parts.follows = "mc-rtc-nix/flake-parts";
15+
systems.follows = "mc-rtc-nix/systems";
2916
};
3017

3118
outputs =

0 commit comments

Comments
 (0)