kotlin-native: remove /bin/kotlinc

This is the only collision with the default kotlin distribution and is
marked as deprecated and to be removed upstream.

```
> kotlinc
NOTE: you are running "kotlinc" CLI tool from Kotlin/Native distribution,
it runs Kotlin/Native compiler that produces native binaries from Kotlin code.
If your intention was to compile Kotlin code to JVM bytecode instead, then you
need to use "kotlinc" from the main Kotlin distribution (e.g. it can be
downloaded as kotlin-compiler-X.Y.ZZ.zip archive from
https://github.com/JetBrains/kotlin/releases/latest, or installed using various
package managers).

WARNING: if your intention was to run Kotlin/Native compiler, then please use
"kotlinc-native" CLI tool instead of "kotlinc". "kotlinc" tool will be removed
from Kotlin/Native distribution, so it will stop clashing with "kotlinc" from
the main Kotlin distribution.
```
This commit is contained in:
Fabián Heredia Montiel 2021-11-02 15:13:26 -06:00
parent d9cf07e341
commit 638daf8c90

View File

@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
runHook preInstall
mkdir -p $out
rm bin/kotlinc
mv * $out
runHook postInstall