mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Don't use std::invocable C++ concept yet
It s not supported on all platforms yet. Can revert this once it is.
This commit is contained in:
parent
b107431816
commit
d15c3a33e6
2 changed files with 6 additions and 10 deletions
|
|
@ -87,7 +87,7 @@ TEST_F(DynDerivationTest, BadATerm_oldVersionDynDeps) {
|
|||
} \
|
||||
\
|
||||
TEST_F(FIXTURE, DerivationOutput_ ## NAME ## _to_json) { \
|
||||
writeTest<json>("output-" #NAME ".json", [&]() -> json { \
|
||||
writeTest("output-" #NAME ".json", [&]() -> json { \
|
||||
return DerivationOutput { (VAL) }.toJSON( \
|
||||
*store, \
|
||||
(DRV_NAME), \
|
||||
|
|
@ -165,7 +165,7 @@ TEST_JSON(ImpureDerivationTest, impure,
|
|||
} \
|
||||
\
|
||||
TEST_F(FIXTURE, Derivation_ ## NAME ## _to_json) { \
|
||||
writeTest<json>(#NAME ".json", [&]() -> json { \
|
||||
writeTest(#NAME ".json", [&]() -> json { \
|
||||
return Derivation { VAL }.toJSON(*store); \
|
||||
}, [](const auto & file) { \
|
||||
return json::parse(readFile(file)); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue