aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-12-11 15:01:49 +0100
committerGitHub <noreply@github.com>2020-12-11 15:01:49 +0100
commit9c143c411b2190a05907416266b0022e5b17dd02 (patch)
treeea5a8d801015114142071dd837ab1e2a8e041c58 /src
parentc6a1bcd0ec1ed443947ae7151e32dd6827dfe53e (diff)
parenteb453081092cbee5f8176c1d348ac23e46a24281 (diff)
Merge pull request #4350 from NixOS/ca/fix-build-with-nix-command
Fix the `nix` command with CA derivations
Diffstat (limited to 'src')
-rw-r--r--src/nix/installables.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index b6ed030af..3506c3fcc 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -409,7 +409,7 @@ std::vector<InstallableValue::DerivationInfo> InstallableAttrPath::toDerivations
for (auto & drvInfo : drvInfos) {
res.push_back({
state->store->parseStorePath(drvInfo.queryDrvPath()),
- state->store->parseStorePath(drvInfo.queryOutPath()),
+ state->store->maybeParseStorePath(drvInfo.queryOutPath()),
drvInfo.queryOutputName()
});
}