From ce674cb2cf97fc14ce48acef7f8ef88f4ac771f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophane=20Hufschmitt?= Date: Mon, 21 Jun 2021 15:52:01 +0200 Subject: [PATCH] Properly set the output env variables Co-authored-by: John Ericson --- src/nix/develop.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix/develop.cc b/src/nix/develop.cc index aeeaf3e13..350b08648 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -150,7 +150,7 @@ StorePath getDerivationEnvironment(ref store, const StorePath & drvPath) output.second = { .output = DerivationOutputDeferred{}, }; - drv.env[output.first] = ""; + drv.env[output.first] = hashPlaceholder(output.first); } } else { for (auto & output : drv.outputs) {