mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +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 // {
|
||||
rosPackage = true;
|
||||
};
|
||||
} // (if buildType == "ament_python" then {
|
||||
} // lib.optionalAttrs (buildType == "ament_python") {
|
||||
dontUseCmakeConfigure = true;
|
||||
} else {
|
||||
nativeBuildInputs = [ pythonPackages.wrapPython ] ++ nativeBuildInputs;
|
||||
}))
|
||||
})
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
{ makeSetupHook }:
|
||||
|
||||
distro:
|
||||
|
||||
makeSetupHook {
|
||||
name = "catkin-setup-hook";
|
||||
substitutions = {
|
||||
inherit distro;
|
||||
};
|
||||
} ./setup-hook.sh
|
||||
|
|
|
@ -38,7 +38,7 @@ let
|
|||
prePhases ? [],
|
||||
postPatch ? "", ...
|
||||
}: let
|
||||
setupHook = self.callPackage ./catkin-setup-hook { } distro;
|
||||
setupHook = self.callPackage ./catkin-setup-hook { };
|
||||
in {
|
||||
propagatedBuildInputs = [ self.cmake setupHook ] ++ propagatedBuildInputs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue