Skip to content

Commit

Permalink
ros1: get rid of nose dependency
Browse files Browse the repository at this point in the history
Override 'nose = null' to make catkin evaluate even though nose has been
removed from nixpkgs.
  • Loading branch information
lopsided98 committed Dec 12, 2024
1 parent 538d757 commit 536b5c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions distros/ros1-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ rosSelf: rosSuper: with rosSelf.lib; {
python = rosSelf.python3;
pythonPackages = rosSelf.python.pkgs;

python3 = rosSuper.python3 // {
pkgs = rosSuper.python3.pkgs.overrideScope (pyFinal: pyPrev: {
# nose is unmaintained and was removed from nixpkgs, but catkin depends
# on it for tests. We don't run tests, so eliminate this dependency.
nose = null;
});
};

# Fix usages of global Boost placeholders
# https://github.com/ros/actionlib/pull/197
actionlib = rosSuper.actionlib.overrideAttrs ({
Expand Down

0 comments on commit 536b5c3

Please sign in to comment.