From 06681c35a9191656b8f3a9a343e21457a71a947d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 21 Aug 2020 02:07:17 +0100 Subject: refactor(tvix): Replace several DiscardLogsSink() with std::cerr Introduces the actual log sink in several places where we actually want the build logs to thread through correctly. This should cover *most* build paths. Change-Id: I735dff8a79f7e35a5874eb89b4abb980f9703dc2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1827 Reviewed-by: glittershark Tested-by: BuildkiteCI --- third_party/nix/src/libexpr/primops.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/nix/src/libexpr/primops.hh') diff --git a/third_party/nix/src/libexpr/primops.hh b/third_party/nix/src/libexpr/primops.hh index 0c9f6ccab1f7..ab5f64720273 100644 --- a/third_party/nix/src/libexpr/primops.hh +++ b/third_party/nix/src/libexpr/primops.hh @@ -6,7 +6,7 @@ namespace nix { struct RegisterPrimOp { - typedef std::vector> PrimOps; + using PrimOps = std::vector >; static PrimOps* primOps; /* You can register a constant by passing an arity of 0. fun will get called during EvalState initialization, so there -- cgit 1.4.1