Merge pull request #7943 from edolstra/fix-make-check

Fix 'make check' inside 'nix develop'
This commit is contained in:
Eelco Dolstra 2023-03-02 16:54:37 +01:00 committed by GitHub
commit 3a2b3af824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;