!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1154 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org187 Servers

Load older messages


SenderMessageTime
31 Oct 2025
@mio:chat.mio19.ukmioI noticed that gtk packages like trayscale cannot find icons 01:32:03
@mio:chat.mio19.ukmioCleanShot 2025-10-31 at 12.32.19@2x.png
Download CleanShot 2025-10-31 at 12.32.19@2x.png
01:32:32
@mio:chat.mio19.ukmiognome-test-editor 01:32:33
@saige:szp.lolsaige leah changed their profile picture.07:11:33
@bartholomeww:matrix.orgtwistedttea changed their display name from bartholomew to twistedttea.10:08:26
@niklaskorz:matrix.orgniklaskorzso that wasn't it13:05:42
@niklaskorz:matrix.orgniklaskorzbut I have a theory13:05:46
@niklaskorz:matrix.orgniklaskorzapparently cross compiling Rust crates that try to compile vendored C code are using the wrong compiler13:06:17
@niklaskorz:matrix.orgniklaskorzno that's not it, minimal reproducer using the cc crate correctly uses x86_64-unknown-linux-gnu-gcc13:25:03
@niklaskorz:matrix.orgniklaskorzbut it's sufficient to add the liblzma-sys crate to a minimal application to reproduce13:29:44
@niklaskorz:matrix.orgniklaskorz* but it's sufficient to add the liblzma-sys crate to a minimal application to reproduce the linker failure13:30:15
@reckenrode:matrix.orgRandy Eckenrode Is that crate doing something wrong in its build.rs that breaks with cross-compilation? 13:30:24
@reckenrode:matrix.orgRandy Eckenrode * Is that crate doing something in its build.rs that breaks with cross-compilation? 13:30:33
@niklaskorz:matrix.orgniklaskorzI'm trying to find out, I suspect so13:30:46
@niklaskorz:matrix.orgniklaskorzbut it's not only that crate13:30:50
@niklaskorz:matrix.orgniklaskorzalso the ring crate that is a very common dependency13:30:58
@niklaskorz:matrix.orgniklaskorznotably the failing linker invocation has these args that I would suspect should not be there when producing a linux elf binary:13:31:52
@niklaskorz:matrix.orgniklaskorz
"-liconv" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=11.0.0"
13:31:54
@niklaskorz:matrix.orgniklaskorzoh wait, what's failing is compiling the build script itself :o13:37:07
@niklaskorz:matrix.orgniklaskorzok so then it makes sense that is being compiled for the build platform13:37:26
@niklaskorz:matrix.orgniklaskorz hm but in that case emily's original suggestion is likely the solution and I just added it in the wrong place 13:38:30
@niklaskorz:matrix.orgniklaskorzat least I'm now certain it fails for cc crate with feature parallel enabled13:52:59
@reckenrode:matrix.orgRandy EckenrodeShouldn’t the build platform CC have the right SDK and stuff? It should be using the fallback SDK.13:55:02
@reckenrode:matrix.orgRandy EckenrodeOh, but it’s not finding the propagated inputs probably. If you add just libiconv, does it work?13:56:53
@reckenrode:matrix.orgRandy EckenrodeI hate how we do dependencies so much.13:57:02
@reckenrode:matrix.orgRandy EckenrodeLike with a bunch of wrapper stuff and Bash to find propagated dependencies.13:57:50
@niklaskorz:matrix.orgniklaskorzno, already tried that :/13:58:44
@reckenrode:matrix.orgRandy EckenrodeMaybe we should symlink the dylibs or add text-based stubs for them instead of propagating them. I can do that for 26.05. It seems too risky for 25.11.13:59:08
@reckenrode:matrix.orgRandy EckenrodeI don’t think adding an SDK for the build platform is the right solution.13:59:31
@reckenrode:matrix.orgRandy Eckenrode * 13:59:46

Show newer messages


Back to Room ListRoom Version: 6