crane/lib/setupHooks/replaceCargoLockHook.nix
Ivan Petkov 4dcf584de1
mkCargoDerivation: replace Cargo.lock with contents of cargoLock (#425)
* The vendoring helpers already accept a `cargoLock` override, so
  automatically linking it in the derivation (if set) makes it a bit
  easier without having the caller manually do the link themselves
2023-10-15 01:42:24 +00:00

8 lines
97 B
Nix

{ makeSetupHook
}:
makeSetupHook
{
name = "replaceCargoLockHook";
} ./replaceCargoLockHook.sh