aboutsummaryrefslogtreecommitdiff
path: root/src/nix-instantiate
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-08-23 14:40:27 +0200
committerNaïm Favier <n@monade.li>2022-08-23 14:40:27 +0200
commitff0b5a778c41a94075d7c651477c4a3a8b4b00cc (patch)
tree073676364a7dff177e2be3790001366dd07493a1 /src/nix-instantiate
parent4c2ff4a0f4c2106d5792a87a1ba9ee1fd18c0e4b (diff)
Revert to `copyStore = true` for `nix-instantiate` and `nix-env`
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r--src/nix-instantiate/nix-instantiate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc
index 80f35828c..6b5ba595d 100644
--- a/src/nix-instantiate/nix-instantiate.cc
+++ b/src/nix-instantiate/nix-instantiate.cc
@@ -53,7 +53,7 @@ void processExpr(EvalState & state, const Strings & attrPaths,
if (output == okXML)
printValueAsXML(state, strict, location, vRes, std::cout, context, noPos);
else if (output == okJSON) {
- printValueAsJSON(state, strict, vRes, v.determinePos(noPos), std::cout, context, false);
+ printValueAsJSON(state, strict, vRes, v.determinePos(noPos), std::cout, context);
std::cout << std::endl;
} else {
if (strict) state.forceValueDeep(vRes);