Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkgs/by-name/do/doctest/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

cmakeFlags = lib.optionals stdenv.hostPlatform.isStatic [
(lib.cmakeBool "DOCTEST_WITH_TESTS" false)
];

doCheck = true;
Comment on lines +32 to 36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cmakeFlags = lib.optionals stdenv.hostPlatform.isStatic [
(lib.cmakeBool "DOCTEST_WITH_TESTS" false)
];
doCheck = true;
cmakeFlags = [
(lib.cmakeBool "DOCTEST_WITH_TESTS" finalAttrs.finalPackage.doCheck)
];
doCheck = !stdenv.hostPlatform.isStatic;

Like this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In staging, as doctest is a mass rebuild.


# Fix the build with LLVM 21 / GCC 15.
Expand Down
Loading