Fix buildNoTest

`checkInputs` is not right for this because we don't just need these
deps when `doTest`, we also need them when `installUnitTests`.
This commit is contained in:
John Ericson 2024-01-02 12:41:53 -05:00
parent 2b20f36f95
commit 86e9244437

View File

@ -214,6 +214,9 @@ in {
] ++ lib.optionals (!stdenv.hostPlatform.isWindows) [ ] ++ lib.optionals (!stdenv.hostPlatform.isWindows) [
editline editline
lowdown lowdown
] ++ lib.optionals buildUnitTests [
gtest
rapidcheck
] ++ lib.optional stdenv.isLinux libseccomp ] ++ lib.optional stdenv.isLinux libseccomp
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid ++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid
# There have been issues building these dependencies # There have been issues building these dependencies
@ -232,11 +235,6 @@ in {
dontBuild = !attrs.doBuild; dontBuild = !attrs.doBuild;
doCheck = attrs.doCheck; doCheck = attrs.doCheck;
checkInputs = [
gtest
rapidcheck
];
nativeCheckInputs = [ nativeCheckInputs = [
git git
mercurial mercurial