toml11: only build tests when they're enabled & use system doctest/nlohmann_json#450200
Conversation
|
The changes itself lgtm, I will try to build nix, lix and toml11 to verify the changes and approve afterward. This will likely take up to tomorrow. |
50cdb43 to
632f34f
Compare
|
Lix failed to build due to some of its Python dependencies, but I don't think the changes here would realistically impact its functionality (as this should functionally be a no-op on the final output)
|
|
My builds failed to something similar and I haven't been able to chase it down further, at least the library itself remains function. Marking as approved to continue staging cycle. I will try to look into lix when time allows. |
Scrumplex
left a comment
There was a problem hiding this comment.
I think we can afford to merge this into master. Rebuilds are <200 and only nixosTest.simple is touched
Isn't nix still a dependency of all nixos tests or did this change recently? Wouldn't this need to go through the nixos-staging branch? |
|
The last update was also against We can also target |
632f34f to
e463f58
Compare
|
I was going off the eval summary which only lists 189 packages of which |
|
roberth
left a comment
There was a problem hiding this comment.
Checked
doCheck = false;works- cross compilation
- tests still run
- compared the output: identical modulo store path (this would cause no rebuilds if
ca-derivationswere used)
|
I noticed that e463f58 exposes build failure of |
Note
This (indirectly) fixes the main
NixOS/nixflake when building against current NixOS unstable - as they have been overriding the source, but don't include submodules. This leads todoctest/nlohmann_jsonnot being found when building tests...which is exactly how I found this :(Previously, upstream's submodules were used when building tests instead of our own versions of the libraries.
nlohmann_jsonworks OOTB, butdoctestneeded a small patch to the test files to be picked upThis also ensures that the aforementioned tests are only built when checks are actually enabled
Built against nixos-unstable c9b6fb7
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.