Struggled all morning to build the #CMake 3.30 `import std;` #cppmodules demo on #NixOS. I might try again after a break, but it seems very difficult to get working.
@allpurposemat Please let me know your findings, I'm going to attempt a similar thing soonish. 😅
@bryanhonof sorry I didn't see your post! I played a lot with it throughout the rest of the day but eventually gave up. I talked about it on the NixOS Matrix room (I'm @mat:allpurposem.at there) and it seems it's just not yet supported in nixpkgs. I did find a repo by the same person that made the nixpkgs PR that *would* allow `import std;` to work, but I had issues using it. You can see my open issue here: https://github.com/gen740/NixCmakeImportStd/issues/1
Compilation errors with `nix build` · Issue #1 · gen740/NixCmakeImportStd

Hi! I'm trying to use import std; in my own NixOS project, and came across your repository. I tried cloning and running nix build (to use flakes) and was met with the following error: nix build err...

GitHub