https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
7 lines
113 B
TOML
Executable file
7 lines
113 B
TOML
Executable file
[source."crates-io"]
|
|
"replace-with" = "vendored-sources"
|
|
|
|
[source."vendored-sources"]
|
|
"directory" = "@vendor@"
|
|
|
|
|