Commit 4aaff11
committed
Merge #238: cmake, ci: updates for recent nixpkgs
db7acb3 ci: Fix shell.nix compatibility with CMake 4.0 (Ryan Ofsky)
91a7759 cmake: Fix IWYU in nix by adding CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES (Ryan Ofsky)
Pull request description:
This PR fixes two problems that happen with recent nixpkgs. The first commit works around compilation errors that happen when IWYU is enabled with (`-DMP_ENABLE_IWYU=ON`) that were caused by NixOS/nixpkgs#445095. The second commit fixes problems building old versions of Cap'n Proto with CMake 4.0 in shell.nix.
Neither problem has showed up so far running in github actions, only running locally with unstable nixpkgs. More details about the problems and fixes are in the commit messages.
ACKs for top commit:
sedited:
ACK db7acb3
hebasto:
re-ACK db7acb3.
Tree-SHA512: b56e2c3cdb31de181c5b5ae1ffdb9f978c0c6268bb717e7c1eedf00a8320cf61beda43437e2e2ba37cc9ce335b387902851d3820de434882fc7d6b4a80c5c0e32 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 93 | | |
101 | 94 | | |
102 | 95 | | |
| |||
111 | 104 | | |
112 | 105 | | |
113 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments