Skip to content

Commit e967595

Browse files
committed
fuck you jb
1 parent c242d35 commit e967595

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

kotlin-native/default.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
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.
412
let
513
pname = "kotlin-native";
614
version = "1.5.21";

0 commit comments

Comments
 (0)