!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1191 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org200 Servers

Load older messages


SenderMessageTime
26 Feb 2026
@himazawa:matrix.org@himazawa:matrix.org left the room.15:23:05
@alexfmpe:matrix.orgalexfmpefull log: https://pastebin.com/Zci1EtBT19:08:36
@alexfmpe:matrix.orgalexfmpethe .y file doesn't seem to have changed in 2 years https://github.com/apple-oss-distributions/adv_cmds/blob/main/localedef/parser.y#L22719:09:21
@alexfmpe:matrix.orgalexfmpe * the .y file doesn't seem to have changed in 2 years https://github.com/apple-oss-distributions/adv_cmds/blob/main/localedef/parser.y#L232 19:09:36
@alexfmpe:matrix.orgalexfmpeok so the same build with llvm 21 yields this as warning rather than error19:12:48
@alexfmpe:matrix.orgalexfmpe
../localedef/parser.y:232:18: warning: incompatible pointer types passing 'wchar_t[2]' (aka 'int[2]') to parameter of type 'char *' [-Wincompatible-pointer-types]
  232 |                         copy_category(w);
      |                                       ^
19:12:55
@alexfmpe:matrix.orgalexfmpemaybe clang 22 got stricter with -Wincompatible-pointer-types ?19:13:19
@alexfmpe:matrix.orgalexfmpecuriously I ran into a similar "incompatible-error-types is now error" last year with nixpkgs-built ghc19:17:02
@reckenrode:matrix.orgRandy EckenrodeThey made it an error in Clang 22.19:17:05
@alexfmpe:matrix.orgalexfmpeso I'm surprised it wasn't already an error19:17:13
@alexfmpe:matrix.orgalexfmpeah but I think that was gcc19:17:40
@alexfmpe:matrix.orgalexfmpebecause I was doing linux->ucrt6419:17:49
@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";
19:19:40
@reckenrode:matrix.orgRandy Eckenrodehttps://releases.llvm.org/22.1.0/tools/clang/docs/ReleaseNotes.html#c-c-language-potentially-breaking-changes19:19:49
@alexfmpe:matrix.orgalexfmpethis seems harmless for <22 so it can just target master no?19:20:35
@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

Show newer messages


Back to Room ListRoom Version: 6