Kotlin / kotlin-interactive-shell

Kotlin Language Interactive Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please add ki to nixos package

theaspect opened this issue · comments

Subj.

NixOS

Currently I'm doing

RUN nix-env -iA nixpkgs.jdk
RUN nix-env -iA nixpkgs.gawk
RUN nix-env -iA nixpkgs.unzip
RUN nix-env -iA nixpkgs.curl

RUN curl --location -o ki-archive.zip https://github.com/Kotlin/kotlin-interactive-shell/releases/download/v0.4.5/ki-archive.zip
RUN unzip ki-archive.zip -d /root/.nix-profile/
RUN rm ki-archive.zip
RUN mv /root/.nix-profile/ki/bin/* /root/.nix-profile/bin/
RUN mv /root/.nix-profile/ki/lib/* /root/.nix-profile/lib/
RUN rm -rf /root/.nix-profile/ki/

Hi @theaspect!

Are there any contribution guides?

OK, I did a bit of a reearch and didn't even understand how to write this scripts. Language is quite complex for such a complex task. But you're free to provide a package to nixpkgs yourself, as done for Arch courtesy of @Maxr1998 (https://aur.archlinux.org/packages/ki-shell-bin).

/cc @Maxr1998 it's time to update :)

@asm0dey done, thanks for the heads-up 👍