!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
4 Jul 2025
@weethet:catgirl.cloudWeetHetLuck08:27:08
@megmug:matrix.orgmegmug(or, gcc)08:27:13
@megmug:matrix.orgmegmugNVM, you were compiling with gcc08:27:25
@megmug:matrix.orgmegmugNo, you weren't. 08:27:39
@weethet:catgirl.cloudWeetHetIt's macOS "gcc"08:27:43
@weethet:catgirl.cloudWeetHet
$ g++ --version
Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: arm64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
08:28:03
@megmug:matrix.orgmegmugAha08:28:22
@megmug:matrix.orgmegmugYou were spot on. The build fails using clang on Linux x86, too.08:37:38
@k900:0upti.meK900 I assume you'll just have to fix the library then 08:39:41
@megmug:matrix.orgmegmugHm, is it possible to switch the MacOS build to gcc instead? Even if it takes forever to compile everything from scratch?08:41:31
@megmug:matrix.orgmegmugI guess the last time i tried i did it wrong because the macos build failed with a ton of linker errors, but thats understandable since it tried to use precompiled by gcc libraries08:43:17
@weethet:catgirl.cloudWeetHetWhy would you want to build wrong code08:46:34
@weethet:catgirl.cloudWeetHetThat's absolutely not the right way to do things08:46:52
@weethet:catgirl.cloudWeetHetWhat if gcc changes it linking behaviour in the next release08:47:32
@weethet:catgirl.cloudWeetHet* What if gcc changes its linking behaviour in the next release08:47:51
@megmug:matrix.orgmegmugI know it's not the right way, but it's the way the project is. It's just a provided scaffolding, that shouldn't be changed except for the parts that we should implement08:47:57
@weethet:catgirl.cloudWeetHetI suggest you tell your teacher that the code is wrong and fix it08:48:28
@megmug:matrix.orgmegmugI know it's ugly. We just pin the commit hash because of that. For instance, it doesn't build with nixos 25.05 even with gcc08:48:44
@megmug:matrix.orgmegmugThank you for this. It allows me to reproduce the issue on my machine. That's worth a lot already09:01:19
@megmug:matrix.orgmegmug* Thank you for this idea. It allows me to reproduce the issue on my machine. That's worth a lot already09:01:37
@lukone:matrix.orgLukas Einhaus joined the room.09:58:52
@reckenrode:matrix.orgRandy EckenrodeAlmost done with the source release updates. I only need to work on dyld and network_cmds to fix them. network_cmds in particular is dropping all the old, compatibility stuff. I’m also trying to simplify the private headers, but it’s not working ….12:54:50
@saiko:knifepoint.netKatalin 🔪5CC7C6B8-5AE4-4E6A-B66A-67C0B89F01AA.png
Download 5CC7C6B8-5AE4-4E6A-B66A-67C0B89F01AA.png
15:28:15
@saiko:knifepoint.netKatalin 🔪when airpods auto-adjust their volume (due to ambient noise or whatever), the volume meter now pops up on the new macOS. not sure how to feel about that. I like the concept but it’s also the full volume overlay which is quite big and could reasonably get in the way of you doing something in a window15:28:16
@winston:milli.ng@winston:milli.ng left the room.15:41:01
@reckenrode:matrix.orgRandy Eckenrodenetwork_cmds builds! Yay. I forgot how horrible it is.17:13:32
@reckenrode:matrix.orgRandy Eckenrode It now even includes rtadvd, which seems kind of pointless, but it’s there now. 17:26:55
@reckenrode:matrix.orgRandy Eckenrode

This is the error I get building darwin.dyld:

Undefined symbols for architecture arm64:
  "mach_o::ChainedFixups::PointerFormat::writeChainEntry(mach_o::Fixup const&, void const*, unsigned long long, std::__1::span<mach_o::MappedSegment const*, 18446744073709551615ul>) const", referenced from:
      vtable for mach_o::ChainedFixups::PointerFormat in libmach_o.a(mach_o_ChainedFixups.cpp.o)
17:33:10
@emilazy:matrix.orgemilyunlike the rest of the commands? :P17:52:47
@reckenrode:matrix.orgRandy EckenrodeI can’t think a reason why you’d want to have a Mac sending router advertisements. Maybe a VM could get an IPv6 address that way by advertising over the bridge interface to the VM, but are any of them set up that way? You’d also need to get a prefix if you wanted it to be routable. That’s so esoteric though.17:55:16

Show newer messages


Back to Room ListRoom Version: 6