!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1183 Members
β€œThere are still many issues with the Darwin platform but most of it is quite usable.” β€” http://yves.gnu-darwin.org194 Servers

Load older messages


SenderMessageTime
21 Jan 2026
@saiko:knifepoint.netKatalin πŸ”ͺ well okay that's not the problem then 13:15:49
@saiko:knifepoint.netKatalin πŸ”ͺ these are just warnings and it picks the correct one (-ish) anyway 13:16:02
@eveeifyeve:matrix.orgeveeifyeveQEMU can offer slower speeds when on a arm host than using the native framework that is optimized for apple hardware.13:16:12
@saiko:knifepoint.netKatalin πŸ”ͺ > chmod: changing permissions of '/build': Operation not permitted

this is the problem
13:16:21
@k900:0upti.meK900 Have you actually measured this 13:16:22
@k900:0upti.meK900Because like13:16:25
@k900:0upti.meK900No13:16:26
@saiko:knifepoint.netKatalin πŸ”ͺ but I have no quick answer for what's going on there 13:16:51
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
In reply to @eveeifyeve:matrix.org
QEMU can offer slower speeds when on a arm host than using the native framework that is optimized for apple hardware.
Actually curious if there are public benchmarks
13:17:06
@reckenrode:matrix.orgRandy EckenrodeQEMU doesn’t need to use the Vietualization framework to be hardware accelerated. There are other, lower level, ways of accomplishing that.13:17:19
@steve_in_the_matrix:matrix.orgSteveThere is no /build directory. I've never configured such a thing. I seems like hardcoded somewhere ...13:17:36
@reckenrode:matrix.orgRandy EckenrodeMesa is working on support for passthrough Vulkan to a Darwin host.13:17:39
@reckenrode:matrix.orgRandy Eckenrode It will support MoltenVK, but you’ll really only want to use KosmicKrisp. 13:18:17
@eveeifyeve:matrix.orgeveeifyeveThere is public benchmarks of it here: https://github.com/lima-vm/lima/issues/126913:18:18
@saiko:knifepoint.netKatalin πŸ”ͺ inside the sandboxed nix build on linux, the cwd is /build afaik 13:18:24
@saiko:knifepoint.netKatalin πŸ”ͺ I think you cannot do that on macOS due to no mount namespaces 13:18:35
@steve_in_the_matrix:matrix.orgSteveIt doesn't pick up the right one: $HOME is set to the user directory, but it claims it is "/build" ?13:18:47
@eveeifyeve:matrix.orgeveeifyeveBut it would be interesting to remeasure again to see if this is still the case.13:18:57
@k900:0upti.meK900
The performance of Docker Desktop and QEMU are pretty much aligned
13:19:06
@k900:0upti.meK900So like13:19:12
@leona:leona.isleonawhen that's the benchmark, there's not much of a difference13:19:17
@saiko:knifepoint.netKatalin πŸ”ͺ > warning: $HOME ('/build') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/empty') 13:19:38
@saiko:knifepoint.netKatalin πŸ”ͺ it explicitly says it picks /var/empty 13:19:43
@saiko:knifepoint.netKatalin πŸ”ͺ which might be the new /homeless-shelter 13:19:57
@saiko:knifepoint.netKatalin πŸ”ͺ I haven't seen that path in a while fwiw 13:20:03
@saiko:knifepoint.netKatalin πŸ”ͺ and $HOME inside a nix build is generally not writable 13:20:49
@saiko:knifepoint.netKatalin πŸ”ͺ anything that needs it sets it to a temp path 13:20:54
@saiko:knifepoint.netKatalin πŸ”ͺ or like the build dir or whatever 13:21:06
@steve_in_the_matrix:matrix.orgSteveI checked: it's the home-directory of root in /etc/passwd on macOS. My user is missing in this file. I tried to add it manually, but no change.13:21:25
@saiko:knifepoint.netKatalin πŸ”ͺ I'm talking about /homeless-shelter 13:21:38

Show newer messages


Back to Room ListRoom Version: 6