jetbrains.rust-rover: fix darwin install (#258814)

* jetbrains.rust-rover: fix darwin install

JetBrains doesn't guarantee that the macOS app will be called
`${product}.app` so I modified the installPhase to copy *.app instead
of ${product}.app, which fails on file does not exist for Rust Rover,
which is `RustRover 2023.2 EAP.app`

I've tested with some other JetBrains apps on darwin aarch64 and they
continue to build as expected.

authored by Joe DeVivo and committed by GitHub 3fda5be5 f894042d

+1 -1
+1 -1
pkgs/applications/editors/jetbrains/darwin.nix
··· 27 27 runHook preInstall 28 28 APP_DIR="$out/Applications/${product}.app" 29 29 mkdir -p "$APP_DIR" 30 - cp -Tr "${product}.app" "$APP_DIR" 30 + cp -Tr *.app "$APP_DIR" 31 31 mkdir -p "$out/bin" 32 32 cat << EOF > "$out/bin/${loname}" 33 33 open -na '$APP_DIR' --args "\$@"