diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-04-21 09:40:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 09:40:24 +0200 |
commit | 3db663a3e4749382e30308b25a3809314a882d7d (patch) | |
tree | c83fd967595a39d2f7d64716c7d453cc6c41fe6a /src | |
parent | 9345b4e9ca1b14071b471851508b37edfc2d1248 (diff) | |
parent | 445ddebde533cc1605ca817d97d573e0161db66b (diff) |
Merge pull request #6430 from NixOS/missing-realisation-error-message
Fix the error message in case of a missing realisation
Diffstat (limited to 'src')
-rw-r--r-- | src/libcmd/installables.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index 74c8a6df5..4250c321e 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -831,8 +831,8 @@ std::vector<std::pair<std::shared_ptr<Installable>, BuiltPath>> Installable::bui auto realisation = store->queryRealisation(outputId); if (!realisation) throw Error( - "cannot operate on an output of unbuilt " - "content-addressed derivation '%s'", + "cannot operate on an output of the " + "unbuilt derivation '%s'", outputId.to_string()); outputs.insert_or_assign(output, realisation->outPath); } else { |