From 638daf8c900022ae2b9203855a412b0d2359826e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Tue, 2 Nov 2021 15:13:26 -0600 Subject: [PATCH 1/2] 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. ``` --- pkgs/development/compilers/kotlin/native.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/kotlin/native.nix b/pkgs/development/compilers/kotlin/native.nix index 13c7143461d6..8743ee1be950 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 From f5095d575c3c9c154d728ac45b1efefc9c6a7ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Wed, 3 Nov 2021 09:55:50 -0600 Subject: [PATCH 2/2] kotlin-native: add fabianhjr as maintainer --- pkgs/development/compilers/kotlin/native.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/kotlin/native.nix b/pkgs/development/compilers/kotlin/native.nix index 8743ee1be950..34f38b3a8e9e 100644 --- a/pkgs/development/compilers/kotlin/native.nix +++ b/pkgs/development/compilers/kotlin/native.nix @@ -59,7 +59,7 @@ stdenv.mkDerivation rec { standard library. ''; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ ]; + maintainers = with lib.maintainers; [ fabianhjr ]; platforms = [ "x86_64-linux" ] ++ lib.platforms.darwin; }; }