aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-02 16:54:37 +0100
committerGitHub <noreply@github.com>2023-03-02 16:54:37 +0100
commit3a2b3af82428dd691b1871243e44daeff9920fb4 (patch)
tree2d36a47cdc64c926ff57f70d483ddce5411b2c31
parent687d86f8ab6d033c739c78055c306b046e5ac1b2 (diff)
parent9c79ce353d1714f948ba116f3fc696639aaacbf6 (diff)
Merge pull request #7943 from edolstra/fix-make-check
Fix 'make check' inside 'nix develop'
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
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;