snix/third_party/nix/src
Vincent Ambo f4f72bcf21 test(3p/nix): Set up scaffolding & fix up tests for value-to-{json|xml}
Configures the CMake build to load & run the GoogleTest tests.

I (grfn) also updated this to get the tests running as part of the nix
derivation, which required defining our own manual configurePhase and
installCheckPhase, rather than depending on the one provided by stdenv.
Not doing this would cause cmake to attempt to *run* the tests as part
of the buildPhase, which wouldn't work because the dynamic libraries
hadn't been put into a place where the test executables knew where to
find them. We're not sure *why* this fixes it, and for some reason
fixing this also breaks the automatic behavior of nixpkgs of passing
-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES to make, but that's eaasy enough
to fix manually in a preBuild

Paired-With: Griffin Smith <grfn@gws.fyi>
Change-Id: I79d61854a3ff47301cdce8a40c76820a97bdf901
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1240
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-18 00:01:53 +00:00
..
build-remote refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
cpptoml style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
libexpr feat(3p/nix): Add function to allocate a Value in traceable memory 2020-07-17 20:04:14 +00:00
libmain feat(3p/nix): install pkgconfig files for libexpr, libmain and libstore 2020-06-21 20:42:28 +00:00
libstore test(3p/nix): Set up scaffolding & fix up tests for value-to-{json|xml} 2020-07-18 00:01:53 +00:00
libutil refactor(3p/nix/libexpr): Make nix::AttrName a std::variant 2020-07-13 20:14:49 +00:00
nix feat(3p/nix): Add function to allocate a Value in traceable memory 2020-07-17 20:04:14 +00:00
nix-build refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-channel fix(nix-channel): Actually strip whitespace. 2020-07-13 20:18:26 +00:00
nix-collect-garbage refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-copy-closure refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-daemon feat(3p/nix/nix-daemon): Implement Worker::VerifyStore handler 2020-07-17 20:37:34 +00:00
nix-env refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-instantiate refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-prefetch-url refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-store refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nlohmann Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
proto feat(3p/nix/nix-daemon): Implement Worker::VerifyStore handler 2020-07-17 20:37:34 +00:00
tests test(3p/nix): Set up scaffolding & fix up tests for value-to-{json|xml} 2020-07-18 00:01:53 +00:00
CMakeLists.txt test(3p/nix): Set up scaffolding & fix up tests for value-to-{json|xml} 2020-07-18 00:01:53 +00:00