mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 05:40:52 +00:00
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:
parent
2b20f36f95
commit
86e9244437
@ -214,6 +214,9 @@ in {
|
||||
] ++ lib.optionals (!stdenv.hostPlatform.isWindows) [
|
||||
editline
|
||||
lowdown
|
||||
] ++ lib.optionals buildUnitTests [
|
||||
gtest
|
||||
rapidcheck
|
||||
] ++ lib.optional stdenv.isLinux libseccomp
|
||||
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid
|
||||
# There have been issues building these dependencies
|
||||
@ -232,11 +235,6 @@ in {
|
||||
dontBuild = !attrs.doBuild;
|
||||
doCheck = attrs.doCheck;
|
||||
|
||||
checkInputs = [
|
||||
gtest
|
||||
rapidcheck
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
mercurial
|
||||
|
Loading…
Reference in New Issue
Block a user