!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1182 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
@reckenrode:matrix.orgRandy Eckenrode That appears to be an emulation of the machine macOS presents when using Virtualization.framework. 12:24:22
@reckenrode:matrix.orgRandy EckenrodePresumably one could use this to run a macOS VM with a non-macOS host.12:24:52
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
In reply to @khaneliman:matrix.org
anyone familiar with what changed with latest firefox{-devedition}-unwrapped on macos? lol... build went from 1h 45 min to 4 hr timeout in hydra and my local build is around 3 hours atm :S
The increase in time is expected because of lto. Timeouts in hydra are not. :) is it something we should set in meta for hydra to give it more time?
12:39:34
@reckenrode:matrix.orgRandy EckenrodeCan we use LLD instead, or is it already using LLD?12:40:06
@reckenrode:matrix.orgRandy EckenrodeI have LTO disabled for Swift because it’s extremely slow with ld64.12:40:28
@ihar.hrachyshka:matrix.orgIhar HrachyshkaIt's lld12:41:01
@ihar.hrachyshka:matrix.orgIhar Hrachyshka--enable-linker=lld"12:41:26
@ihar.hrachyshka:matrix.orgIhar HrachyshkaWonder how build times compare with Linux lto. (Will have to check later, on mobile now)12:43:03
@eveeifyeve:matrix.orgeveeifyeveOh okay. So would it be best to create a custom swift program for running native linux vms locally on a apple silicon machine?13:01:14
@eveeifyeve:matrix.orgeveeifyeve* Oh okay. So would it be best to create a custom swift program for running native linux vms locally on a apple silicon machine? Because UTM is only frontend only.13:02:02
@k900:0upti.meK900...what13:02:02
@k900:0upti.meK900If you want to run a Linux VM on OSX, you can already do that with qemu13:02:11
@k900:0upti.meK900That's how the nix-darwin linux builders are set up13:02:21
@eveeifyeve:matrix.orgeveeifyeveI am talking about natively.13:02:38
@eveeifyeve:matrix.orgeveeifyeve* I am talking about natively, not QEMU.13:02:45
@eveeifyeve:matrix.orgeveeifyeve* I am talking about natively (apple framework), not QEMU.13:02:55
@k900:0upti.meK900QEMU uses Apple frameworks under the hood?13:03:12
@k900:0upti.meK900It's hardware accelerated, anyway13:03:45
@eveeifyeve:matrix.orgeveeifyeveDoes it? Because I thought it doesn't and the reason it has performance issues..13:04:27
@k900:0upti.meK900It's definitely hardware accelerated and I don't know about "performance issues"13:05:11
@k900:0upti.meK900Unless you mean, like, graphics, in which case the problem is very much Not That13:05:18
@eveeifyeve:matrix.orgeveeifyeveHardware accelerated, but the real question is that if it uses https://developer.apple.com/documentation/virtualization13:06:49
@k900:0upti.meK900Why does that matter exactly?13:07:25
@eveeifyeve:matrix.orgeveeifyeve* Hardware accelerated could still mean emulated, but the real question is that if it uses https://developer.apple.com/documentation/virtualization13:07:27
@ihar.hrachyshka:matrix.orgIhar HrachyshkaIt's accelerated and performant enough, at one point I did my Linux development in a nixpkgs VM, ran kind clusters and such.13:07:32
@eveeifyeve:matrix.orgeveeifyevehttps://determinate.systems/blog/changelog-determinate-nix-384/#why13:08:27
@k900:0upti.meK900 And? 13:08:57
@steve_in_the_matrix:matrix.orgSteve

Hi there, I'm attempting to create an installation image using nix-community/nixos-generators on macOS, but I'm encountering strange issues related to my "$HOME" environment variable. When I execute nix build as a regular user, it reports that $HOME is set to "/build", which is not the case. However, when I "sudo nix build", it reports that $HOME is set to my user directory (not root?). Nevertheless, it then complains that the directory is not owned by root.

Has anyone encountered such unusual behavior before? I'm at a loss for what to do. I would greatly appreciate any insights or suggestions you may have. Thank you in advance for your assistance.

13:10:54
@k900:0upti.meK900I'd be really surprised if that actually works on a Darwin host tbh13:11:24
@saiko:knifepoint.netKatalin 🔪 sudo does not reset $HOME 13:12:17

Show newer messages


Back to Room ListRoom Version: 6