File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ in with pkgs; {
7070 # Kotlin/JVM
7171 inherit kotlin ;
7272
73- # Kotlin/Native
74- kotlin-native = ( callPackage ./kotlin-native { inherit pkgs ; } ) ;
73+ # Why? check ./kotlin-native/default.nix
74+ # # Kotlin/Native
75+ # kotlin-native = (callPackage ./kotlin-native { inherit pkgs; });
7576}
Original file line number Diff line number Diff line change 11{ pkgs ? import <nixpkgs> { } } : with pkgs ;
22# The compiler Kotlin/Native is just like a piece of shit
3- # However this nix file just works on Luogu Judge.
3+ # FIXME: unusable
4+ # The f**king compiler will download some dependencies on its own, such as LLVM and sysroot.
5+ # Fine, I can let you self download them (check unwrapped.buildPhase).
6+ # BUT the dependencies are not static-linked, and they didn't bring everything they need.
7+ # Which means, they still needs other libraries from system, such as libtinfo.so.5.
8+ # OK, althrough ncurses has upgraded to 6.x, I can still install ncurses5 for you (check propagatedBuildInputs)
9+ # ncurses needs glibc? OK, I give it to you. But why does it throw the error below?
10+ # `./clang++: symbol lookup error: /nix/store/9bh3986bpragfjmr32gay8p95k91q4gy-glibc-2.33-47/lib/libc.so.6: undefined symbol: _dl_catch_error_ptr, version GLIBC_PRIVATE`
11+ # YOU WIN. I GAVE UP. Goodbye and I will drop Kotlin/Native support from Luogu.
412let
513 pname = "kotlin-native" ;
614 version = "1.5.21" ;
You can’t perform that action at this time.
0 commit comments