Skip to content

Commit

Permalink
fix(rust): add git type to source url table key in vendor config
Browse files Browse the repository at this point in the history
  • Loading branch information
yusdacra committed Feb 15, 2022
1 parent 9d3e925 commit 1a73712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builders/rust/vendor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in {
let
makeEntry = source:
''
[source."${source.url}"]
[source."${source.url}${l.optionalString (source ? type) "?${source.type}=${source.value}"}"]
replace-with = "vendored-sources"
git = "${source.url}"
${l.optionalString (source ? type) "${source.type} = \"${source.value}\""}
Expand Down

0 comments on commit 1a73712

Please sign in to comment.