| 24 Nov 2025 |
niklaskorz | indeed, and I don't see us shipping highly GPU intensive Vulkan applications just yet | 14:28:25 |
colemickens π³οΈβπ | So I think I'm hitting this: https://github.com/nix-darwin/nix-darwin/issues/1640
But I don't do any symlinking in my own config, I don't think, and it seems to be blowing up in home-manager font stuff. | 19:15:04 |
colemickens π³οΈβπ | I guess maybe it's an issue with home-manager, duh. I don't think I checked there yet... | 19:15:17 |
colemickens π³οΈβπ | huh, there's a fix commit in HM merged a week ago. Maybe my CI isn't working the way I expected because I should be including that -_- | 19:18:55 |
| 25 Nov 2025 |
samasaur | i would be pretty surprised if it was something in nix-darwin | 02:20:11 |
samasaur | perhaps it's a different thing you're using? buildEnv has some use cases in package definitions as well | 02:20:38 |
megmug | Download shell.nix | 10:44:01 |
megmug | Hello there, is it expected on a semi recent nixpkgs unstable commit, to have system libraries like iostream unavaillable on MacOS? I've been struggling getting a Linux project to build with a basic nix-shell that tries to use the clangStdenv | 10:44:24 |
megmug | I'm thinking I'm probably doing something wrong but I can't find a lot of info on the web | 10:45:06 |
megmug | I'm trying to compile a simple module like this, and I just can't get it to find iostream | 10:48:00 |
megmug | Download cli.cppm | 10:48:10 |
K900 | I don't think we really have C++ modules working | 10:55:30 |
K900 | On any of the compilers | 10:55:37 |
K900 | It needs some cc-wrapper fixing but nothing uses them or can agree on how to use them | 10:55:53 |
K900 | So no one did the work | 10:56:13 |
megmug | Ok, so it's probably an interaction with the modules? Without modules, it should work? | 10:56:38 |
K900 | Yes | 10:56:58 |
megmug | That would help since the project is early anyways, can go back to headers still | 10:57:01 |
megmug | Thank you! | 10:57:16 |
megmug | It's interesting though that it already works on linux | 10:57:26 |
megmug | Also, it didn't fail immediately - the same module using stdio.h + printf works on macos | 10:58:55 |
Randy Eckenrode | C++ modules support is fixed on staging. | 11:32:05 |
Randy Eckenrode | https://github.com/NixOS/nixpkgs/pull/462747 | 11:32:44 |
Randy Eckenrode | A change was made to fix clang foo.cpp that broke clang-scan-deps, which CMake uses for module support. | 11:33:50 |
Randy Eckenrode | It had to be ported to the clang-tools wrapper, which would have gone to master if not for the large number of Linux rebuilds it caused. | 11:34:43 |
megmug | Aha - could this possibly affect non-module projects as well then? Because I am still getting errors despite removing all the modules. clang-scan-deps fails to find some stuff (on macos). | 11:37:28 |
Randy Eckenrode | If it uses clang-scan-deps, it will be broken. | 11:39:02 |
Randy Eckenrode | Also clangd. | 11:39:10 |
Randy Eckenrode | You may be able to work around it by setting env.NIX_CFLAGS_COMPILE to -isystem ${stdenv.cc.libcxx}. | 11:42:42 |
Randy Eckenrode | * You may be able to work around it by setting env.NIX_CFLAGS_COMPILE to -isystem ${stdenv.cc.libcxx}/include/c++/v1. | 11:43:01 |