diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-14T18·01+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-03-14T18·24+0100 |
commit | ca14b142001ab467e679d4ed0cc6236180bf34b2 (patch) | |
tree | b7d89f1b6703eea64dc3aa9e6f2f354c3cd9f0c3 /src/libstore/build.cc | |
parent | 56f2ed00813f49e2834076787f98438a976eebb1 (diff) |
Use boost::format from the boost package
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index e162e81aab5c..b8613427e0fa 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -156,7 +156,7 @@ public: abort(); } - void trace(const format & f); + void trace(const FormatOrString & fs); string getName() { @@ -417,9 +417,9 @@ void Goal::amDone(ExitCode result) } -void Goal::trace(const format & f) +void Goal::trace(const FormatOrString & fs) { - debug(format("%1%: %2%") % name % f); + debug("%1%: %2%", name, fs.s); } |