mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 18:54:50 +03:00
Make catkin propagate cmake.
This commit is contained in:
parent
b8b9c3dd5e
commit
f32d66b831
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue