2021-12-27 07:25:36 +03:00
|
|
|
{ makeSetupHook
|
|
|
|
, zstd
|
|
|
|
}:
|
2021-12-27 02:32:57 +03:00
|
|
|
|
|
|
|
{
|
2021-12-27 04:10:04 +03:00
|
|
|
configureCargoCommonVarsHook = makeSetupHook
|
|
|
|
{
|
|
|
|
name = "configureCargoCommonVarsHook";
|
|
|
|
} ./configureCargoCommonVarsHook.sh;
|
|
|
|
|
2021-12-27 02:32:57 +03:00
|
|
|
configureCargoVendoredDepsHook = makeSetupHook
|
|
|
|
{
|
|
|
|
name = "configureCargoVendoredDepsHook";
|
|
|
|
} ./configureCargoVendoredDepsHook.sh;
|
2021-12-27 05:06:19 +03:00
|
|
|
|
|
|
|
copyCargoTargetToOutputHook = makeSetupHook
|
|
|
|
{
|
|
|
|
name = "copyCargoTargetToOutputHook";
|
2021-12-27 07:25:36 +03:00
|
|
|
substitutions = {
|
|
|
|
zstd = "${zstd}/bin/zstd";
|
|
|
|
};
|
2021-12-27 05:06:19 +03:00
|
|
|
} ./copyCargoTargetToOutputHook.sh;
|
2021-12-27 02:32:57 +03:00
|
|
|
}
|