summary refs log tree commit diff
path: root/pkgs/development/compilers/kotlin/native.nix
diff options
context:
space:
mode:
authorFabián Heredia Montiel <fabianhjr@protonmail.com>2021-11-02 15:13:26 -0600
committerFabián Heredia Montiel <fabianhjr@protonmail.com>2021-11-03 09:57:36 -0600
commit638daf8c900022ae2b9203855a412b0d2359826e (patch)
tree8b2d35a0289c6e63d6b26a5c8af830337891f7c1 /pkgs/development/compilers/kotlin/native.nix
parentd9cf07e341ad6afe519fc1ea66c27b07771f89eb (diff)
downloadnixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.tar
nixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.tar.gz
nixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.tar.bz2
nixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.tar.lz
nixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.tar.xz
nixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.tar.zst
nixpkgs-638daf8c900022ae2b9203855a412b0d2359826e.zip
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.
```
Diffstat (limited to 'pkgs/development/compilers/kotlin/native.nix')
-rw-r--r--pkgs/development/compilers/kotlin/native.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/kotlin/native.nix b/pkgs/development/compilers/kotlin/native.nix
index 13c7143461d..8743ee1be95 100644
--- a/pkgs/development/compilers/kotlin/native.nix
+++ b/pkgs/development/compilers/kotlin/native.nix
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
     runHook preInstall
 
     mkdir -p $out
+    rm bin/kotlinc
     mv * $out
 
     runHook postInstall