mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-15 12:08:39 +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 }:
|
{ stdenv, python, cmake }:
|
||||||
{ nativeBuildInputs ? []
|
{ nativeBuildInputs ? []
|
||||||
, propagatedNativeBuildInputs ? []
|
|
||||||
, passthru ? {}
|
, passthru ? {}
|
||||||
, ...
|
, ...
|
||||||
}@args: stdenv.mkDerivation (args // {
|
}@args: stdenv.mkDerivation (args // {
|
||||||
nativeBuildInputs = [ python.pkgs.wrapPython ] ++ nativeBuildInputs;
|
nativeBuildInputs = [ python.pkgs.wrapPython ] ++ nativeBuildInputs;
|
||||||
propagatedNativeBuildInputs = [ cmake ] ++ propagatedNativeBuildInputs;
|
|
||||||
|
|
||||||
passthru = passthru // {
|
passthru = passthru // {
|
||||||
rosPackage = true;
|
rosPackage = true;
|
||||||
|
|
|
@ -40,11 +40,13 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
catkin = rosSuper.catkin.overrideAttrs ({
|
catkin = rosSuper.catkin.overrideAttrs ({
|
||||||
|
propagatedBuildInputs ? [],
|
||||||
prePhases ? [],
|
prePhases ? [],
|
||||||
postPatch ? "", ...
|
postPatch ? "", ...
|
||||||
}: let
|
}: let
|
||||||
setupHook = self.callPackage ./catkin-setup-hook { } distro;
|
setupHook = self.callPackage ./catkin-setup-hook { } distro;
|
||||||
in {
|
in {
|
||||||
|
propagatedBuildInputs = [ self.cmake ] ++ propagatedBuildInputs;
|
||||||
prePhases = prePhases ++ [ "setupPhase" ];
|
prePhases = prePhases ++ [ "setupPhase" ];
|
||||||
# Catkin uses its own setup hook
|
# Catkin uses its own setup hook
|
||||||
setupPhase = ''
|
setupPhase = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue