| 26 Feb 2026 |
Randy Eckenrode | They made it an error in Clang 22. | 19:17:05 |
alexfmpe | so I'm surprised it wasn't already an error | 19:17:13 |
alexfmpe | ah but I think that was gcc | 19:17:40 |
alexfmpe | because I was doing linux->ucrt64 | 19:17:49 |
alexfmpe | 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 |
Randy Eckenrode | https://releases.llvm.org/22.1.0/tools/clang/docs/ReleaseNotes.html#c-c-language-potentially-breaking-changes | 19:19:49 |
alexfmpe | this seems harmless for <22 so it can just target master no? | 19:20:35 |
Randy Eckenrode | It’s in the stdenv bootstrap, so it will cause mass rebuilds. | 19:22:13 |
alexfmpe | oh right, what I really meant to ask was does-this-count-as-forward-compat | 19:23:10 |
alexfmpe | no need to wait for any other llvm22 stuff to PR? | 19:23:28 |
Randy Eckenrode | It should be harmless for LLVM 21. | 19:23:38 |
alexfmpe | I'm surprised so far there's little fallout from incompatible-pointer-types becoming an error | 19:24:23 |
Randy Eckenrode | Did GCC do it first? | 19:24:42 |
alexfmpe | ah yeah could be from that | 19:25:43 |
alexfmpe | something definitely got first blood last year | 19:26:01 |
alexfmpe | e.g. https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13919 | 19:26:04 |
alexfmpe | * e.g. https://gitlab.haskell.org/ghc/ghc/-/issues/26337 | 19:26:22 |
alexfmpe | guess I'll let this run for another couple hours and see if there's anything else load-bearing going ape | 19:26:57 |
alexfmpe | huh chromium doesn't eval on aarch64-darwin | 19:34:05 |
alexfmpe | trying all the other suggestions
these 705 derivations will be built: | 19:34:16 |
LogN | guyyyyyys my nix disappeared again what am i supposed to do | 20:13:16 |
LogN | it's after an update, I remember this happens | 20:13:25 |
LogN | but forgot how to fix it | 20:13:28 |
samasaur | 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 | I 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-darwin | 20:16:22 |
alexfmpe | * 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 | ah 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 like | 22:50:46 |
| 27 Feb 2026 |
Theo 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 not aware of any upstream discussions or PRs to samba itself about this issue 🤔
| 00:54:05 |
Theo 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 |
Randy 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 |