wangle: reorder attributes

(cherry picked from commit 4a2ad7732b)
(cherry picked from commit 3de5bf9d30)
This commit is contained in:
Emily 2024-11-13 15:46:50 +00:00 committed by Vladimír Čunát
parent b2977e0bf2
commit fbeae37f53
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -28,13 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ];
cmakeDir = "../wangle";
cmakeFlags = [
"-Wno-dev"
(lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
];
buildInputs =
[
double-conversion
@ -50,10 +43,19 @@ stdenv.mkDerivation (finalAttrs: {
(darwinMinVersionHook "11.0")
];
doCheck = true;
checkInputs = [
gtest
];
cmakeDir = "../wangle";
cmakeFlags = [
"-Wno-dev"
(lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
];
doCheck = true;
preCheck =
let
disabledTests =