guix/nix/libstore
Congcong Kuo 3af52f845f
daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’.
* nix/boost: This directory and all files inside it are removed.
* nix/libstore/build.cc (Goal::trace): Use ‘std::string’ instead of ‘const format &’.
(DerivationGoal::startBuilder, ...): Use ‘std::format’ or ‘std::vformat’ instead of ‘boost::format’.
* nix/libstore/builtins.cc (builtinDownload): Same.
* nix/libstore/derivations.cc (DerivationOutput::parseHashInfo, ...): Same.
* nix/libstore/gc.cc (LocalStore::openGCLock, ...): Same.
* nix/libstore/globals.cc (Settings::_get): Same.
* nix/libstore/local-store.cc: (checkStoreNotSymlink, ...): Same.
* nix/libstore/misc.cc (dfsVisit, showBytes): Same
* nix/libstore/optimise-store.cc (makeWritable, ...): Same.
* nix/libstore/pathlocks.cc (openLockFile, ...): Same.
* nix/libstore/references.cc (search, scanForReferences): Same.
* nix/libstore/sqlite.hh (throwSQLiteError): Use ‘std::string’ instead of ‘const format &’.
* nix/libstore/sqlite.cc (throwSQLiteError): Use ‘std::string’ instead of ‘const format &’.
* nix/libstore/store-api.cc (assertStorePath, ...): Use ‘std::format’ instead of ‘boost::format’.
* nix/libutil/affinity.cc (setAffinityTo): Same.
* nix/libutil/archive.cc (dumpContents, ...): Same.
* nix/libutil/hash.cc (parseHash, parseHash32, parseHash16or32, hashFile): Same.
* nix/libutil/hash.hh (parseHash, parseHash32, parseHash16or32, isHash): Same.
* nix/libutil/serialise.cc : Add ‘<cassert>’ header file.
* nix/libutil/spawn.cc (addPhaseAfter, ...): Use ‘std::format’ instead of ‘boost::format’.
* nix/libutil/types.hh (FormatOrString): Removed.
(BaseError, BaseError::addPrefix, SysError, MakeError):
Use ‘std::string or std::string_view’ instead of ‘FormatOrString’.
* nix/libutil/util.hh (Nest::open, printMsg_, warnOnce, expect): Same.
* nix/libutil/util.cc (BaseError::BaseError, ...): Same.
(writeToStderr, _interrupted): Use std::uncaught_exceptions() instead of std::uncaught_exception()
* nix/nix-daemon/nix-daemon.cc (performOp, ...): Same.
* nix/nix-daemon/guix-daemon.cc (string_to_bool, ...): Same.
* nix/local.mk: Remove ‘libformat.a’ from ‘noinst_LIBRARIES’,
remove ‘libformat_a_SOURCES’ and ‘libformat_headers’,
remove ‘libformat_a_CPPFLAGS’ from ‘libutil_a_CPPFLAGS’ and ‘guix_daemon_LDADD’,
update ‘AM_CXXFLAGS’ to ‘-std=c++20’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-19 21:29:39 +02:00
..
.gitignore
build.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
builtins.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
builtins.hh daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
derivations.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
derivations.hh
gc.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
globals.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
globals.hh daemon: Use slirp4netns to provide networking to fixed-output derivations. 2025-06-24 10:07:57 -04:00
local-store.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
local-store.hh
misc.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
misc.hh guix gc: Adjust size suffix based on the amount of data. 2025-07-28 13:57:53 +03:00
optimise-store.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
pathlocks.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
pathlocks.hh
references.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
references.hh
sqlite.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
sqlite.hh daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
store-api.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
store-api.hh daemon: Fix build failure with gcc@15. 2025-06-01 16:01:03 +02:00
worker-protocol.hh