~ruther/guix-local

159931a9 — Sharlatan Hellseher 6 months ago
gnu: python-pyftpdlib: Skip one test on aarch64-linux.

* gnu/packages/python-xyz.scm (python-pyftpdlib)[arguments]
<test-flags>: Conditionally deselect one test when target is
aarch64-linux.

Change-Id: I027207d97a7ee24e5482bf676b7b108d2789946e
3af52f84 — Congcong Kuo 9 months ago
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>
cbda9256 — Konrad Hinsen 7 months ago
doc: cookbook: Minor correction to "Reproducible Research" chapter.

* doc/guix-cookbook.texi (Setting Up the Environment): Reword.

Change-Id: Ifaf8b3231fe1b3007dbaaf7005c249fbcdf1deb2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
496ee0c0 — Cayetano Santos 8 months ago
gnu: Add onednn.

* gnu/packages/oneapi.scm (onednn): New variable.

Change-Id: I10e5446aefea2978134495d25b9df504114a7530
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7fae1a69 — Cayetano Santos 9 months ago
gnu: Add python-onetbb.

* gnu/packages/oneapi.scm (python-onetbb): New variable.

Change-Id: If03bd2a7934478908fc00b6c76ab5fb871647af6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8894ed2c — Cayetano Santos 9 months ago
gnu: Add onetbb.

* gnu/packages/oneapi.scm (onetbb): New variable.
* gnu/packages/patches/onetbb-other-arches.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new module.

Change-Id: Id00fffb79ebc74ca1d65ba79ff2f28af1e07ef9a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
e2ead32f — Martin Schitter 7 months ago
tests: guix-daemon.sh: Ignore guile locale warning.

Ignore "guile: warning: failed to install locale" lines
in the examined build log file. They are irrelevant for
this particular test and cause unexpected errors.

This commit contains the following changes:

    M tests/guix-daemon.sh

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
0c5f4eee — Andreas Enge 6 months ago
gnu: Unregister non existing and unused patch.

This is a follow-up to commit 4d86f0a3126ddb8eb2678e3dcd264a342b6e8e78 .

* gnu/local.mk (dist_patch_DATA): Unregister trytond-hack-import.patch.

Change-Id: I43ad3a0ed4ac6df1085a9a501e265e793e6cdf35
0153630c — Hartmut Goebel 6 months ago
gnu: python-febelfin-coda: Update to 0.3.0.

* gnu/packages/python-xyz.scm (python-febelfin-coda): Update to 0.3.0.

Change-Id: Icbe0009785e19456dc28eddc2f90d816c409863f
67945002 — Hartmut Goebel 7 months ago
gnu: tryton.scm: Remove deprecated package aliases.

These are deprecated since four years now.

* gnu/packages/tryton.scm (python-trytond-account,
python-trytond-account-invoice, python-trytond-account-invoice-stock,
python-trytond-account-product, python-trytond-analytic-account,
python-trytond-company, python-trytond-country, python-trytond-currency,
python-trytond-party, python-trytond-product, python-trytond-purchase,
python-trytond-purchase-request, python-trytond-stock,
python-trytond-stock-lot, python-trytond-stock-supply): Remove variable.

Change-Id: I1002091a5eec1666fcca61509cfcbbd13200fe4e
cd1ca286 — Hartmut Goebel 2 years ago
gnu: Remove python-pycountry@20.7.3.

* gnu/packages/iso-codes.scm (python-pycountry-20.7.3): Delete variable.
db8c9f5c — Hartmut Goebel 2 years ago
gnu: Add trytond-stock-shipment-cost-weight.

* gnu/packages/tryton.scm (trytond-stock-shipment-cost-weight): New variable.
ad11845f — Hartmut Goebel 2 years ago
gnu: Add trytond-sale-promotion-coupon-payment.

* gnu/packages/tryton.scm (trytond-sale-promotion-coupon-payment): New variable.
e00479ad — Hartmut Goebel 2 years ago
gnu: Add trytond-sale-product-recommendation-association-rule.

* gnu/packages/tryton.scm (trytond-sale-product-recommendation-association-rule): New variable.
08a601b5 — Hartmut Goebel 2 years ago
gnu: Add trytond-sale-product-recommendation.

* gnu/packages/tryton.scm (trytond-sale-product-recommendation): New variable.
9875c1a7 — Hartmut Goebel 2 years ago
gnu: Add trytond-sale-product-quantity.

* gnu/packages/tryton.scm (trytond-sale-product-quantity): New variable.
6d50c2cb — Hartmut Goebel 2 years ago
gnu: Add trytond-sale-invoice-date.

* gnu/packages/tryton.scm (trytond-sale-invoice-date): New variable.
ce14ceca — Hartmut Goebel 2 years ago
gnu: Add trytond-sale-blanket-agreement.

* gnu/packages/tryton.scm (trytond-sale-blanket-agreement): New variable.
6970d935 — Hartmut Goebel 2 years ago
gnu: Add trytond-quality.

* gnu/packages/tryton.scm (trytond-quality): New variable.
f19cf205 — Hartmut Goebel 2 years ago
gnu: Add trytond-purchase-product-quantity.

* gnu/packages/tryton.scm (trytond-purchase-product-quantity): New variable.
Next