diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-12-02 12:03:03 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-12-04 22:26:36 +0100 |
commit | d83d4488da5c3bb65867bffa2b8587a7c7b056cc (patch) | |
tree | 039028834d6387da02f50d48fa938b471f8fd431 /nix | |
parent | 33f9d3cc36fbfbd2849d626492721667abfe8306 (diff) | |
download | guix-d83d4488da5c3bb65867bffa2b8587a7c7b056cc.tar.gz |
daemon: Simplify “empty status” substitute error message.
* nix/libstore/build.cc (SubstitutionGoal::finished): Don’t show what the empty status looks like. Change-Id: Ie898432aeb047aff3d59024de6ed6d18f68903c4
Diffstat (limited to 'nix')
-rw-r--r-- | nix/libstore/build.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index c5383bc756..e8259aa4e8 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -3074,8 +3074,8 @@ void SubstitutionGoal::finished() auto statusList = tokenizeString<vector<string> >(status); if (statusList.empty()) { - throw SubstError(format("fetching path `%1%' (empty status: '%2%')") - % storePath % status); + throw SubstError(format("fetching path `%1%' (empty status)") + % storePath); } else if (statusList[0] == "hash-mismatch") { if (settings.printBuildTrace) { auto hashType = statusList[1]; |