Make catkin propagate cmake.

This commit is contained in:
Ben Wolsieffer 2019-05-12 19:37:25 -04:00
parent b8b9c3dd5e
commit f32d66b831
2 changed files with 2 additions and 2 deletions

View file

@ -1,11 +1,9 @@
{ stdenv, python, cmake }:
{ nativeBuildInputs ? []
, propagatedNativeBuildInputs ? []
, passthru ? {}
, ...
}@args: stdenv.mkDerivation (args // {
nativeBuildInputs = [ python.pkgs.wrapPython ] ++ nativeBuildInputs;
propagatedNativeBuildInputs = [ cmake ] ++ propagatedNativeBuildInputs;
passthru = passthru // {
rosPackage = true;

View file

@ -40,11 +40,13 @@ let
});
catkin = rosSuper.catkin.overrideAttrs ({
propagatedBuildInputs ? [],
prePhases ? [],
postPatch ? "", ...
}: let
setupHook = self.callPackage ./catkin-setup-hook { } distro;
in {
propagatedBuildInputs = [ self.cmake ] ++ propagatedBuildInputs;
prePhases = prePhases ++ [ "setupPhase" ];
# Catkin uses its own setup hook
setupPhase = ''