!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

You have reached the beginning of time (for this room).


SenderMessageTime
27 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeThat’s wrong. The fix will be splitting out the Swift stdlib into its own derivation, which should be a ton of fun to build.21:34:34
@reckenrode:matrix.orgRandy EckenrodeThen Swift and Swift Compiler Driver can reference that instead.21:34:49
@emilazy:matrix.orgemilythat'll help for cross too :)21:37:59
@reckenrode:matrix.orgRandy EckenrodeOne of the reasons I’m doing it.22:03:51
@flokli:matrix.orgflokliRedacted or Malformed Event23:26:16
@emilazy:matrix.orgemilyhi23:26:27
@flokli:matrix.orgflokliSorry, I fatfingered on too tiny keyboard23:27:20
@flokli:matrix.orgflokliI wanted to ask about https://paste.linuxlounge.net/BQ , and whether any of this rings a bell.23:28:10
@flokli:matrix.orgflokliThat's the aws-lc-sys crate, and it shows some obscure errors about various symbols not found, if compiling on a MacOS system.23:30:28
@flokli:matrix.orgflokliit notably only fails is compiling inside the derivation, not when using cargo.23:30:48
@emilazy:matrix.orgemily looks like maybe a missing rustPlatform.bindgenHook or similar? 23:30:57
@emilazy:matrix.orgemilycan you share the derivation code maybe?23:31:13
@flokli:matrix.orgflokli https://git.snix.dev/snix/snix, nix-build -A snix.store 23:31:46
@emilazy:matrix.orgemilyah, this is using crane?23:32:39
@flokli:matrix.orgflokli crate2nix, see the snix/Cargo.nix file, and snix/default.nix calling into it 23:33:15
@flokli:matrix.orgflokliI'll check if adding bindgenHook helps23:33:53
@emilazy:matrix.orgemilyI doubt it will23:34:21
@emilazy:matrix.orgemily since I think crate2nix works entirely differently(?) 23:34:27
@emilazy:matrix.orgemily I'd be tempted to sanity check with rustPlatform.buildRustPackage because my intuition would be crate2nix is doing something messed up here that is breaking the cc crate etc. 23:34:49

Show newer messages


Back to Room ListRoom Version: 6