!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
20 Jan 2026
@sarahec:matrix.orgSarah Clark No worries hug 21:39:22
@sarahec:matrix.orgSarah Clark(going offline, have been fighting an infection and I'm now exhausted)21:41:08
@samasaur:matrix.orgsamasaurfeel better!21:43:18
21 Jan 2026
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

wireshark-qt segfaulted in hydra when wrapping qt app in fixup phase and I can't reproduce it on any of machines I have.

The log: https://cache.nixos.org/log/qvza680ibwq9qq6prqmqajmgywq2hiz9-wireshark-qt-4.6.3.drv

wrapping Qt applications in /nix/store/vmqmdn9lwpbdjvmnpyr728w0k44xnhvy-wireshark-qt-4.6.3/bin /nix/store/vmqmdn9lwpbdjvmnpyr728w0k44xnhvy-wireshark-qt-4.6.3/sbin /nix/store/vmqmdn9lwpbdjvmnpyr728w0k44xnhvy-wireshark-qt-4.6.3/libexec /nix/store/vmqmdn9lwpbdjvmnpyr728w0k44xnhvy-wireshark-qt-4.6.3/Applications
/nix/store/n4lgqnsbzr7m5i50csw6wa3z89q7s8zg-wrap-qt6-apps-hook/nix-support/setup-hook: line 80: 69662 Done                       find "$targetDir" ! -type d -executable -print0
     69663 Segmentation fault: 11     | while IFS= read -r -d '' file; do
    isELF "$file" || isMachO "$file" || continue; if [ -h "$file" ]; then
        target="$(readlink -e "$file")"; echo "wrapping $file -> $target"; rm "$file"; makeQtWrapper "$target" "$file";
    else
        if [ -f "$file" ]; then
            echo "wrapping $file"; wrapQtApp "$file";
        fi;
    fi;
done

Any ideas on how to debug that or a probable cause? the code is really simple. Is it bash itself that segfaulted?

02:22:27
@vali0004:matrix.org@vali0004:matrix.org left the room.02:35:46
@khaneliman:matrix.orgAustin Horstmananyone familiar with what changed with latest firefox-devedition 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 03:01:43
@khaneliman:matrix.orgAustin Horstman* 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 03:10:24
@vcunat:matrix.orgvcunathttps://github.com/NixOS/nixpkgs/pull/45736910:29:51
@vcunat:matrix.orgvcunati.e. the resulting binary should be noticeably more efficient.10:30:16
@eveeifyeve:matrix.orgeveeifyeveDId anyone look at the qemu vm and trying to run vm's natively for linux on nix-darwin?12:04:32
@eveeifyeve:matrix.orgeveeifyeveI found a potentially useful docs to run it natively: https://www.qemu.org/docs/master/system/arm/vmapple.html12:05:01
@eveeifyeve:matrix.orgeveeifyeve* Because I found a potentially useful docs to run it natively: https://www.qemu.org/docs/master/system/arm/vmapple.html12:06:19
@eveeifyeve:matrix.orgeveeifyeveJust look at the docs, It doesn't seem out of the box using the framework ๐Ÿ˜”12:10:35
@eveeifyeve:matrix.orgeveeifyeve* Just look at the docs, It doesn't seem out of the box using the native framework ๐Ÿ˜”12:10:43
@eveeifyeve:matrix.orgeveeifyeveIma wait for swift 6 and the swift builder to be supported before I work on working on native vms for darwin.12:14:16
@eveeifyeve:matrix.orgeveeifyeve* Ima wait for swift 6 and the swift builder to be supported before I work on working on native vms for apple sillcon darwin.12:14:34
@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

Show newer messages


Back to Room ListRoom Version: 6