| 27 Dec 2025 |
Randy Eckenrode | That’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 |
Randy Eckenrode | Then Swift and Swift Compiler Driver can reference that instead. | 21:34:49 |
emily | that'll help for cross too :) | 21:37:59 |
Randy Eckenrode | One of the reasons I’m doing it. | 22:03:51 |
flokli | Redacted or Malformed Event | 23:26:16 |
emily | hi | 23:26:27 |
flokli | Sorry, I fatfingered on too tiny keyboard | 23:27:20 |
flokli | I wanted to ask about https://paste.linuxlounge.net/BQ , and whether any of this rings a bell. | 23:28:10 |
flokli | That'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 | it notably only fails is compiling inside the derivation, not when using cargo. | 23:30:48 |
emily | looks like maybe a missing rustPlatform.bindgenHook or similar? | 23:30:57 |
emily | can you share the derivation code maybe? | 23:31:13 |
flokli | https://git.snix.dev/snix/snix, nix-build -A snix.store | 23:31:46 |
emily | ah, this is using crane? | 23:32:39 |
flokli | crate2nix, see the snix/Cargo.nix file, and snix/default.nix calling into it | 23:33:15 |
flokli | I'll check if adding bindgenHook helps | 23:33:53 |
emily | I doubt it will | 23:34:21 |
emily | since I think crate2nix works entirely differently(?) | 23:34:27 |
emily | 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 |