mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 02:52:02 +03:00
24 lines
521 B
Nix
24 lines
521 B
Nix
{ makeSetupHook
|
|
, zstd
|
|
}:
|
|
|
|
{
|
|
configureCargoCommonVarsHook = makeSetupHook
|
|
{
|
|
name = "configureCargoCommonVarsHook";
|
|
} ./configureCargoCommonVarsHook.sh;
|
|
|
|
configureCargoVendoredDepsHook = makeSetupHook
|
|
{
|
|
name = "configureCargoVendoredDepsHook";
|
|
} ./configureCargoVendoredDepsHook.sh;
|
|
|
|
copyCargoTargetToOutputHook = makeSetupHook
|
|
{
|
|
name = "copyCargoTargetToOutputHook";
|
|
substitutions = {
|
|
zstd = "${zstd}/bin/zstd";
|
|
};
|
|
} ./copyCargoTargetToOutputHook.sh;
|
|
}
|