From 208c8d326def2cbadb02143211333ca8558f99f1 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 20 Feb 2023 17:32:19 -0500 Subject: `Derivation::toJSON`: fix bug! When I moved this code from the binary to libnixstore #7863, I forgot to display the environment variables! --- src/libstore/derivations.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/derivations.cc') diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index e05644ab2..05dc9a3cc 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -945,6 +945,7 @@ nlohmann::json Derivation::toJSON(const Store & store) const res["system"] = platform; res["builder"] = builder; res["args"] = args; + res["env"] = env; return res; } -- cgit v1.2.3