mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 14:14:14 +00:00
Fix windows executables not having .exe suffix.
This commit is contained in:
parent
683f785848
commit
59bcaf4c47
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ let
|
|||
log "Using file $cargo_build_output_json to retrieve build (executable) products"
|
||||
while IFS= read -r to_copy; do
|
||||
bin_path=$(jq -cMr '.executable' <<<"$to_copy")
|
||||
bin_name=$(jq -cMr '.target.name' <<<"$to_copy")
|
||||
bin_name="$(basename "$bin_path")"
|
||||
log "found executable $bin_name -> $out/bin/$bin_name"
|
||||
cp "$bin_path" "$out/bin/$bin_name"
|
||||
done < <(jq -cMr "$cargo_bins_jq_filter" <"$cargo_build_output_json")
|
||||
|
|
Loading…
Reference in a new issue