Skip to content

Commit 536b5c3

Browse files
committed
ros1: get rid of nose dependency
Override 'nose = null' to make catkin evaluate even though nose has been removed from nixpkgs.
1 parent 538d757 commit 536b5c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

distros/ros1-overlay.nix

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ rosSelf: rosSuper: with rosSelf.lib; {
77
python = rosSelf.python3;
88
pythonPackages = rosSelf.python.pkgs;
99

10+
python3 = rosSuper.python3 // {
11+
pkgs = rosSuper.python3.pkgs.overrideScope (pyFinal: pyPrev: {
12+
# nose is unmaintained and was removed from nixpkgs, but catkin depends
13+
# on it for tests. We don't run tests, so eliminate this dependency.
14+
nose = null;
15+
});
16+
};
17+
1018
# Fix usages of global Boost placeholders
1119
# https://github.com/ros/actionlib/pull/197
1220
actionlib = rosSuper.actionlib.overrideAttrs ({

0 commit comments

Comments
 (0)