!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
@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
@lunik1:lunik.one@lunik1:lunik.one left the room.17:38:48
28 Feb 2026
@alexfmpe:matrix.orgalexfmpewhat is hydra doing with nodejs-slim? I can never build it locally even with sandbox turned off02:11:12
@alexfmpe:matrix.orgalexfmpe
Failed tests:
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http2-respond-file-404.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http2-respond-file-error-pipe-offset.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http2-respond-file-compat.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http2-autoselect-protocol.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http2-respond-file-error-dir.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http-zero-length-write.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-http-write-empty-string.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-dgram-udp6-link-local-address.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/parallel/test-inspector-ip-detection.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/module-hooks/test-module-hooks-preload.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/async-hooks/test-embedder.api.async-resource-no-type.js
out/Release/node --expose-internals /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/async-hooks/test-emit-after-on-destroyed.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/async-hooks/test-async-local-storage-no-mix-contexts.js
out/Release/node --expose-internals /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/async-hooks/test-emit-before-on-destroyed.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/async-hooks/test-async-exec-resource-http-32060.js
out/Release/node /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/async-hooks/test-callback-error.js
out/Release/node --expose-gc /nix/var/nix/builds/nix-6138-1993477953/node-v24.14.0/test/sequential/test-gc-http-client.js
make: *** [Makefile:596: test-ci-js] Error 1
error: Cannot build '/nix/store/xk9h5573g4a1r0f9ishdfp9b2x5isih7-nodejs-slim-24.14.0.drv'.
02:11:36
@alexfmpe:matrix.orgalexfmpe *

on master

not ok 1978 parallel/test-inspector-ip-detection
  ---
  duration_ms: 118.28300
  severity: fail
  exitcode: 1
  stack: |-
    [test] Testing /json/list
    [err] Debugger listening on ws://0.0.0.0:57019/469f69fb-33c1-4e5c-ad07-3432906b256d
    [err] For help, see: https://nodejs.org/en/docs/inspector
    [err]
    Error: socket hang up
        at Socket.socketOnEnd (node:_http_client:599:25)
        at Socket.emit (node:events:520:35)
        at endReadableNT (node:internal/streams/readable:1701:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
      code: 'ECONNRESET'
    }
    1

not ok 4623 parallel/test-dgram-udp6-link-local-address
  ---
  duration_ms: 360118.77600
  severity: fail
  exitcode: -15
  stack: |-
    timeout

Failed tests:
out/Release/node /nix/var/nix/builds/nix-78879-1401859509/node-v24.13.0/test/parallel/test-inspector-ip-detection.js
out/Release/node /nix/var/nix/builds/nix-78879-1401859509/node-v24.13.0/test/parallel/test-dgram-udp6-link-local-address.js
make: *** [Makefile:589: test-ci-js] Error 1
03:36:38

Show newer messages


Back to Room ListRoom Version: 6