aboutsummaryrefslogtreecommitdiff
path: root/src/nix/repl.cc
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-04-20 20:01:37 +0200
committerGitHub <noreply@github.com>2022-04-20 20:01:37 +0200
commit9345b4e9ca1b14071b471851508b37edfc2d1248 (patch)
treed34d0191b34b0a2d583c162827497170f8ae6fca /src/nix/repl.cc
parent2ffc5a45422522122c65cf71a2958e4b891e8134 (diff)
parentf63b0f4540b61d8cdac7a3c52ca6e190f7c1b8cf (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.cc2
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;
}