From 9c79ce353d1714f948ba116f3fc696639aaacbf6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 2 Mar 2023 16:11:49 +0100 Subject: [PATCH] Fix 'make check' inside 'nix develop' --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 2000c2d73..5e0504a59 100644 --- a/flake.nix +++ b/flake.nix @@ -96,6 +96,7 @@ ++ lib.optionals (stdenv.isLinux && !(isStatic && stdenv.system == "aarch64-linux")) [ "LDFLAGS=-fuse-ld=gold" ]; + testConfigureFlags = [ "CXXFLAGS=-I${lib.getDev rapidcheck}/extras/gtest/include" ]; @@ -651,7 +652,7 @@ buildInputs = buildDeps ++ propagatedDeps ++ awsDeps ++ checkDeps; - inherit configureFlags; + configureFlags = configureFlags ++ testConfigureFlags; enableParallelBuilding = true;