mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 11:14:49 +03:00
Cleanup catkin setup hook.
This commit is contained in:
parent
db3ae84456
commit
cdcb85b14e
3 changed files with 3 additions and 10 deletions
|
@ -18,8 +18,6 @@ else stdenv.mkDerivation) (args // {
|
||||||
passthru = passthru // {
|
passthru = passthru // {
|
||||||
rosPackage = true;
|
rosPackage = true;
|
||||||
};
|
};
|
||||||
} // (if buildType == "ament_python" then {
|
} // lib.optionalAttrs (buildType == "ament_python") {
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
} else {
|
})
|
||||||
nativeBuildInputs = [ pythonPackages.wrapPython ] ++ nativeBuildInputs;
|
|
||||||
}))
|
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
{ makeSetupHook }:
|
{ makeSetupHook }:
|
||||||
|
|
||||||
distro:
|
|
||||||
|
|
||||||
makeSetupHook {
|
makeSetupHook {
|
||||||
name = "catkin-setup-hook";
|
name = "catkin-setup-hook";
|
||||||
substitutions = {
|
|
||||||
inherit distro;
|
|
||||||
};
|
|
||||||
} ./setup-hook.sh
|
} ./setup-hook.sh
|
||||||
|
|
|
@ -38,7 +38,7 @@ let
|
||||||
prePhases ? [],
|
prePhases ? [],
|
||||||
postPatch ? "", ...
|
postPatch ? "", ...
|
||||||
}: let
|
}: let
|
||||||
setupHook = self.callPackage ./catkin-setup-hook { } distro;
|
setupHook = self.callPackage ./catkin-setup-hook { };
|
||||||
in {
|
in {
|
||||||
propagatedBuildInputs = [ self.cmake setupHook ] ++ propagatedBuildInputs;
|
propagatedBuildInputs = [ self.cmake setupHook ] ++ propagatedBuildInputs;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue