···3233 # this is a header-only library, so we don't need to build it
34 # we need `cmake` only to run tests
35- nativeBuildInputs = lib.optionals finalAttrs.doCheck [
36 cmake
37 python
38 ];
3940 # we only want to run buildPhase when we run tests
41- dontBuild = !finalAttrs.doCheck;
4243 installPhase = ''
44 runHook preInstall
···3233 # this is a header-only library, so we don't need to build it
34 # we need `cmake` only to run tests
35+ nativeBuildInputs = lib.optionals finalAttrs.finalPackage.doCheck [
36 cmake
37 python
38 ];
3940 # we only want to run buildPhase when we run tests
41+ dontBuild = !finalAttrs.finalPackage.doCheck;
4243 installPhase = ''
44 runHook preInstall