lol

importCargoLock: fix git dep config file

linsui e05bacf4 958ca2b0

+1 -1
+1 -1
pkgs/build-support/rust/import-cargo-lock.nix
··· 201 201 202 202 # Set up configuration for the vendor directory. 203 203 cat > $out/.cargo-config <<EOF 204 - [source."${gitParts.url}"] 204 + [source."${gitParts.url}${lib.optionalString (gitParts ? type) "?${gitParts.type}=${gitParts.value}"}"] 205 205 git = "${gitParts.url}" 206 206 ${lib.optionalString (gitParts ? type) "${gitParts.type} = \"${gitParts.value}\""} 207 207 replace-with = "vendored-sources"