diff options
| author | Joe DeVivo <joe@devivo.com> | 2023-10-04 09:49:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-04 18:49:31 +0200 |
| commit | 3fda5be53fc6f9190be0ddd49da49cee7e25c78e (patch) | |
| tree | bb3f2f3a40a077ce4f417a99da8ee2c7eebfdb3d | |
| parent | Merge pull request #258777 from cafkafk/cafk-convco-unstable (diff) | |
| download | nixpkgs-3fda5be53fc6f9190be0ddd49da49cee7e25c78e.tar.gz | |
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.
| -rw-r--r-- | pkgs/applications/editors/jetbrains/darwin.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/jetbrains/darwin.nix b/pkgs/applications/editors/jetbrains/darwin.nix index bd14cf2ffdad..747f03f55d5e 100644 --- a/pkgs/applications/editors/jetbrains/darwin.nix +++ b/pkgs/applications/editors/jetbrains/darwin.nix @@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation { runHook preInstall APP_DIR="$out/Applications/${product}.app" mkdir -p "$APP_DIR" - cp -Tr "${product}.app" "$APP_DIR" + cp -Tr *.app "$APP_DIR" mkdir -p "$out/bin" cat << EOF > "$out/bin/${loname}" open -na '$APP_DIR' --args "\$@" |
