importCargoLock: fix git dep config file
This commit is contained in:
parent
958ca2b0c0
commit
e05bacf4e8
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ let
|
|||
|
||||
# Set up configuration for the vendor directory.
|
||||
cat > $out/.cargo-config <<EOF
|
||||
[source."${gitParts.url}"]
|
||||
[source."${gitParts.url}${lib.optionalString (gitParts ? type) "?${gitParts.type}=${gitParts.value}"}"]
|
||||
git = "${gitParts.url}"
|
||||
${lib.optionalString (gitParts ? type) "${gitParts.type} = \"${gitParts.value}\""}
|
||||
replace-with = "vendored-sources"
|
||||
|
|
Loading…
Reference in a new issue