Cannot be compiled in NixOS
NixOS version: 24.11.711934.4005c3ff7505 (Vicuna)
error: linking with /nix/store/4apajimszc47rxwcpvc3g3rj2icinl71-gcc-wrapper-13.3.0/bin/cc failed: exit status: 1
Same issue as #688.
It looks like rustc-1.82.0 no longer respects LD_LIBRARY_PATH defined in build.sh.
https://github.com/Riey/kime/blob/c5e007c4ddaef0b176ba0d4198e1654b7e1dcabd/scripts/build.sh#L93
As a quick fix, you can use
pkgs.kime.overrideAttrs { RUSTFLAGS="-Clink-args=-L./target/release"; });
Or directly to your Nixos configuration as https://github.com/jhhuh/dot/blob/4eea9c198c599d82fa5da049cc80cab8d462b992/machines/p1gen3/configuration.nix#L24)
Unfortunately, I'm not familiar enough with Rust's build system. I think the maintainers (@Riey) can and will eventually come up with a proper fix for build.sh.
resolved by https://github.com/NixOS/nixpkgs/pull/386911