!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1169 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
26 Feb 2026
@reckenrode:matrix.orgRandy EckenrodeIt’s in the stdenv bootstrap, so it will cause mass rebuilds.19:22:13
@alexfmpe:matrix.orgalexfmpeoh right, what I really meant to ask was does-this-count-as-forward-compat19:23:10
@alexfmpe:matrix.orgalexfmpeno need to wait for any other llvm22 stuff to PR?19:23:28
@reckenrode:matrix.orgRandy EckenrodeIt should be harmless for LLVM 21.19:23:38
@alexfmpe:matrix.orgalexfmpeI'm surprised so far there's little fallout from incompatible-pointer-types becoming an error19:24:23
@reckenrode:matrix.orgRandy EckenrodeDid GCC do it first?19:24:42
@alexfmpe:matrix.orgalexfmpeah yeah could be from that 19:25:43
@alexfmpe:matrix.orgalexfmpesomething definitely got first blood last year 19:26:01
@alexfmpe:matrix.orgalexfmpee.g. https://gitlab.haskell.org/ghc/ghc/-/merge_requests/1391919:26:04
@alexfmpe:matrix.orgalexfmpe* e.g. https://gitlab.haskell.org/ghc/ghc/-/issues/2633719:26:22
@alexfmpe:matrix.orgalexfmpeguess I'll let this run for another couple hours and see if there's anything else load-bearing going ape19:26:57
@alexfmpe:matrix.orgalexfmpehuh chromium doesn't eval on aarch64-darwin19:34:05
@alexfmpe:matrix.orgalexfmpe trying all the other suggestions
these 705 derivations will be built:
19:34:16
@logn:zirco.devLogNguyyyyyys my nix disappeared again what am i supposed to do20:13:16
@logn:zirco.devLogNit's after an update, I remember this happens20:13:25
@logn:zirco.devLogNbut forgot how to fix it20:13:28
@samasaur:matrix.orgsamasaur

macos reverted to the default shell init files in /etc, you should just need to add the block that Nix adds when it is installed:

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
    . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
20:15:54
@samasaur:matrix.orgsamasaurI don't remember if there's a "nice" way to do that with the upstream nix installer (which I suspect you used) and without nix-darwin20:16:22
@alexfmpe:matrix.orgalexfmpe *

kay this fixes it

- env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include";
+ env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include -Wno-error=incompatible-pointer-types";
20:41:08
@logn:zirco.devLogNah gotcha. this is in etc profile.d or something? can't lie I don't dig through my mac file system enough to know what /etc looks like22:50:46
27 Feb 2026
@theo-paris:matrix.orgTheo ParisI was going to install qemu with Nix instead of homebrew but I just ran into https://github.com/NixOS/nixpkgs/issues/494532 It seems like homebrew maintainers just disabled that test on aarch64-darwin (https://github.com/Homebrew/homebrew-core/blob/main/Formula/s/samba.rb#L77). I'm not exactly sure how to fix it within nixpkgs and I don't know if it'd require targeting staging... I'm not aware of any upstream discussions or PRs to samba itself about this issue 🤔 00:54:05
@theo-paris:matrix.orgTheo Paris* I was going to install qemu with Nix instead of homebrew but I just ran into https://github.com/NixOS/nixpkgs/issues/494532 It seems like homebrew maintainers just disabled that test on aarch64-darwin (https://github.com/Homebrew/homebrew-core/blob/main/Formula/s/samba.rb#L77). I'm not exactly sure how to fix it within nixpkgs and I don't know if it'd require targeting staging... I'm also not aware of any upstream discussions or PRs to samba itself about this issue 🤔 00:55:23
@reckenrode:matrix.orgRandy Eckenrode

I’m also seeing these errors in the log. Are they non-fatal?

librpc/idl/auth.idl:154: error: Unable to determine origin of type `struct cli_credentials'
librpc/idl/auth.idl:154: error: Unable to determine origin of type `struct cli_credentials'
librpc/idl/winbind.idl:286: error: winbind_SamLogon: [out] argument 'validation' is not a pointer or array, skip client functions
01:00:24
@alexfmpe:matrix.orgalexfmpeless than 50 left to go, current blockers are rustc and harfbuzz but I won't be able to look at those for at least a day or two so pushed current progress: https://github.com/NixOS/nixpkgs/pull/49463408:30:11
@alexfmpe:matrix.orgalexfmpewe have rustc 1.93.0 which lacks https://github.com/rust-lang/rust/commit/634251cba8edb4ebcd01e330c7241e14d76322a108:32:16
@alexfmpe:matrix.orgalexfmpe

as for harfbuzz it's blowing up in one of the tests

harfbuzz>  91/219 api - harfbuzz:test-unicode                                           OK              2.78s   12 subtests passed
harfbuzz>  92/219 api - harfbuzz:test-var-coords                                        OK              2.70s   2 subtests passed
harfbuzz>  93/219 api - harfbuzz:test-version                                           OK              2.80s   1 subtests passed
harfbuzz>  94/219 api - harfbuzz:test-ft                                                OK              2.77s   1 subtests passed
harfbuzz> ▶  95/219 /native_coretext_variations - ERROR:../test/api/test-coretext.c:97:test_native_coretext_variations: assertion failed (length != 0): (0 != 0) FAIL
harfbuzz> ▶  95/219                                                                     ERROR
harfbuzz>  95/219 api - harfbuzz:test-coretext                                          ERROR           2.82s   killed by signal 6 SIGABRT
harfbuzz> >>> MALLOC_PERTURB_=78 G_TEST_SRCDIR=/nix/var/nix/builds/nix-22984-2464162399/harfbuzz-12.3.0/test/api MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_CHECK_=1 LD_LIBRARY_PATH=/nix/var/nix/builds/nix-22984-2464162399/harfbuzz-12.3.0/build/src MESON_TEST_ITERATION=1 G_TEST_BUILDDIR=/nix/var/nix/builds/nix-22984-2464162399/harfbuzz-12.3.0/build/test/api G_DEBUG=gc-friendly ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 DYLD_LIBRARY_PATH=/nix/var/nix/builds/nix-22984-2464162399/harfbuzz-12.3.0/build/src UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/var/nix/builds/nix-22984-2464162399/harfbuzz-12.3.0/build/test/api/test-coretext
harfbuzz>  ✀
harfbuzz> stderr:
harfbuzz> 2026-02-27 08:06:35.844 test-coretext[41120:32560076] CoreText: System LastResort not available, using built-in copy.
harfbuzz> **
harfbuzz> ERROR:../test/api/test-coretext.c:97:test_native_coretext_variations: assertion failed (length != 0): (0 != 0)
harfbuzz>
harfbuzz> (test program exited with status code -6)
harfbuzz>
harfbuzz>
harfbuzz>  96/219 api - harfbuzz:test-multithread                                       OK              2.82s   3 subtests passed
harfbuzz>  97/219 fuzzing - harfbuzz:shape-fuzzer-chunk-7                               OK              0.86s   6 subtests passed
08:33:03
@alexfmpe:matrix.orgalexfmpe

FWIW I was building with

with (import ./. {}); {
  inherit
    hello
    ispc
    ghc
    nodejs
    boost
    ;
  inherit (qt6Packages)
    qtwebengine
    ;
}

08:33:40
@alexfmpe:matrix.orgalexfmpe *

FWIW I was building with

with (import ./. {}); {
  inherit
    hello
    ispc
    ghc
    nodejs
    boost
    ;
  inherit (qt6Packages)
    qtwebengine
    ;
}
08:33:46
@reckenrode:matrix.orgRandy EckenrodeThat should be fixed when 1.94 releases next week?14:02:47
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/pull/490558 was merged. KosmicKrisp is now built on Darwin.14:03:13

Show newer messages


Back to Room ListRoom Version: 6