diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2022-04-20 20:01:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 20:01:37 +0200 |
commit | 9345b4e9ca1b14071b471851508b37edfc2d1248 (patch) | |
tree | d34d0191b34b0a2d583c162827497170f8ae6fca /src/nix/repl.cc | |
parent | 2ffc5a45422522122c65cf71a2958e4b891e8134 (diff) | |
parent | f63b0f4540b61d8cdac7a3c52ca6e190f7c1b8cf (diff) |
Merge pull request #3720 from obsidiansystems/fix-url-format
Avoid `fmt` when constructor already does it
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r-- | src/nix/repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index b055698b3..0eb037858 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -120,7 +120,7 @@ std::string runNix(Path program, const Strings & args, }); if (!statusOk(res.first)) - throw ExecError(res.first, fmt("program '%1%' %2%", program, statusToString(res.first))); + throw ExecError(res.first, "program '%1%' %2%", program, statusToString(res.first)); return res.second; } |