Commit graph

127772 commits

Author SHA1 Message Date
Ludovic Courtès
06b9c1260c
substitute: Do not exit when failing to find a nar.
Fixes <https://issues.guix.gnu.org/67575>.

* guix/scripts/substitute.scm (process-substitution/fallback): Use
‘report-error’ instead of ‘leave’.  Write status line to PORT.
* tests/substitute.scm ("substitute, narinfo is available but nar is
missing"): Adjust accordingly.

Change-Id: Ic7297dbd563c007111ec2167c8d52505a07d4822
2023-12-04 22:26:36 +01:00
Ludovic Courtès
d83d4488da
daemon: Simplify “empty status” substitute error message.
* nix/libstore/build.cc (SubstitutionGoal::finished): Don’t show what
the empty status looks like.

Change-Id: Ie898432aeb047aff3d59024de6ed6d18f68903c4
2023-12-04 22:26:36 +01:00
Sharlatan Hellseher
33f9d3cc36
gnu: python-cdflib: Disable shaky test.
* gnu/packages/astronomy.scm (python-cdflib): Disable one test which
causes random build failure.
[arguments]{test-flags}: Add it.

Change-Id: I05ee2feca3bc0f0139fa1a5f00b4fe260b42ec80
Signed-off-by: Eric Bavier <bavier@posteo.net>
2023-12-04 14:49:33 -06:00
Andy Tai
597f1cd1c4
gnu: octave: Update to 8.4.0
* gnu/packages/maths.scm (octave-cli): Update to 8.4.0

Change-Id: I88fe31a25a3fbfc28985f5f0b51cb042369f4462
Signed-off-by: Eric Bavier <bavier@posteo.net>
2023-12-04 08:54:31 -06:00
Efraim Flashner
1d2d6aaeaf
Revert "build/go: Don't use set!"
This causes too many rebuilds.

This reverts commit 0a4b6fd51a.
2023-12-04 13:19:53 +02:00
Greg Hogan
61cc93e49c
gnu: ddcutil: Update to 1.4.5.
* gnu/packages/hardware.scm (ddcutil): Update to 1.4.5.

Change-Id: I293c09af1020bcc02d9d99d636a2e64ebc25ad58
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-04 11:52:26 +02:00
Sharlatan Hellseher
a2f7a37a98
gnu: Add julia-astrolib.
* gnu/packages/julia-xyz.scm (julia-astrolib): New variable.

Change-Id: I41fc21728b3bc2d20c2e6c83a6ea1185086a015e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-04 11:52:26 +02:00
Efraim Flashner
0a4b6fd51a
build/go: Don't use set!
This causes build failures on powerpc-linux.

* guix/build/go-build-system.scm (unpack): When the unpack-path is unset
use the import-path but don't redefine the unpack-path.

Change-Id: I2b5a36eb738abb14307941d388038139dbaf2bdf
2023-12-04 11:52:22 +02:00
Andy Tai
6e2dd51df5
gnu: xpra: Update to 5.0.4.
* gnu/packages/xorg.scm (xpra): Update to 5.0.4

Change-Id: Id995cd3176628ff2034ccce139b01786b54dc91d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Michal Atlas
4d934786c0
gnu: gmnisrv: Fix typo.
* gnu/services/web.scm (gmnisrv-service-type): Change the service name to gmnisrv

Change-Id: I1ca46c312db851486313c431fe0454786f0a673e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Leo Nikkilä
25de8f3c5e
gnu: kpackage: Work around flaky test.
When parallel tests are enabled, plasma-querytest can fail with:

    5/11 Test  #5: plasma-querytest ....................Subprocess aborted***Exception:   0.02 sec
    ********* Start testing of QueryTest *********
    Config: Using QtTest library 5.15.10, Qt 5.15.10 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
    PASS   : QueryTest::initTestCase()
    QFATAL : QueryTest::installAndQuery() QThread: Destroyed while thread is still running
    FAIL!  : QueryTest::installAndQuery() Received a fatal error.
    Loc: [Unknown file(0)]
    Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 3ms
    ********* Finished testing of QueryTest *********

I'm able to consistently reproduce this on an aarch64-linux machine.
`guix build --cores=1' can also work around this.

* gnu/packages/kde-frameworks.scm (kpackage): Work around flaky test.
[arguments]<#:parallel-tests?>: Disable.  Follows what Debian has done.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Greg Hogan
9f66582ed0
gnu: xe: Update to 1.0.
* gnu/packages/parallel.scm (xe): Update to 1.0.

Change-Id: If881efcd1db46fddd33b48e044ea02ee73e4a98e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Greg Hogan
2630c533a2
gnu: xonsh: Update to 0.14.2.
* gnu/packages/shells.scm (xonsh): Update to 0.14.2.

Change-Id: Id21fa37467aa8dbcc58330108c4b7bc19a46949f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:09 +01:00
Spencer King
1308f0fe0e
gnu: Add python-islenska.
* gnu/packages/python-xyz.scm (python-islenska): New variable.

Change-Id: Id9acd04d625bbbdef0438b1b98b73550e826088d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:08 +01:00
Gabriel Wicki
27c24ce83f
gnu: igt-gpu-tools: Update to 1.28
* gnu/packages/admin.scm (igt-gpu-tools): Update to 1.28.
[source]: Remove patch.
[inputs]: Add python.
* gnu/packages/patches/igt-gpu-tools-Use-libproc2.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: I5dccd7d5a5df0084fabf713949940775671aecd7
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-12-03 23:55:08 +01:00
Ludovic Courtès
2447c1b608
packages: Honor target system for the inputs to ‘patch-and-repack’.
* guix/packages.scm (%standard-patch-inputs): Add ‘system’ parameter.
Parameterize ‘%current-system’.
(patch-and-repack): Pass SYSTEM to ‘%standard-patch-inputs’.

Change-Id: Ic8ad93303332fd1eefba0a93a314f99db782eda6
2023-12-03 23:55:08 +01:00
Ludovic Courtès
3dda74a546
grafts: Use the right locale package.
This is a followup to b0715d7cd2, fixing
builds of grafts on i586-gnu.

* guix/grafts.scm (graft-derivation/shallow)[glibc-locales]: Choose
symbol as a function of ‘target-hurd?’.

Change-Id: I05e50c0ed74a64986a0cea9c6302d1b5592b898d
2023-12-03 23:55:08 +01:00
Saku Laesvuori
ab8612d99e
guix: import: Fix parsing Cabal files that import many stanzas
* guix/import/cabal.scm (eval-cabal)[eval]: Split imports to a
normalized list before mapping over it.
* tests/hackage.scm: Test it.

Change-Id: I39ece019251b6a23a937c8562d2d4a545a6bc7df
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 16:15:29 +01:00
Janneke Nieuwenhuizen
2c9ac9ab20
gnu: mes: Update to 0.26.
* gnu/packages/mes.scm (mes): Update to 0.26.

Change-Id: I0c88da0de34014aa10d317db1e997cb015e23d28
2023-12-03 11:51:17 +01:00
Saku Laesvuori
5bd00bb542
guix: import: Parse cabal layout blocks correctly
Cabal consideres lines to be part of a layout block if they are indented
at least one space more than the field line the block belongs to.
Previously Guix considered lines to be a part of the block if they were
indented at least as much as the first line in it.

This also makes a workaround that enabled if statements to have multiple
elses redundant and removes it.

Fixes: https://issues.guix.gnu.org/35743

* guix/import/cabal.scm (current-indentation*): Renamed from
current-indentation.
(previous-indentation, current-indentation): New variables.
(make-cabal-parser): Remove outdated comment.
[open]: Use previous-indentation + 1 instead of
current-indentation.
[elif-else]: Split to elif and else to allow only one ELSE in an if
statement.
(read-cabal)[parameterize]: Use current-indentation* and previous-indentation.
* tests/hackage.scm (hackage->guix-package test mixed layout): Expect to
  pass.

Change-Id: I3a1495b1588a022fabbfe8dad9f3231e578af4f3
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 09:11:29 +01:00
Saku Laesvuori
acef524961
guix: import: stackage: Fix crash on recursive import
* guix/import/stackage.scm (lts-package-version): Call
  stackage-package-version only when the package is found.

Change-Id: Ic8d7c1b7a42a9c1a6cbba567e148706507a53ee3
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 09:11:29 +01:00
Saku Laesvuori
160385c013
guix: import: hackage: Fix crash on recursive import
Fixes: https://issues.guix.gnu.org/64734

* guix/import/hackage.scm (hackage-module->sexp): Return package names
  instead of <upstream-input> records.

Change-Id: Id428a8b903b4b59d44205ca366324a0a69a4e05b
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-12-03 09:11:29 +01:00
Efraim Flashner
8267a3a206
gnu: ncdu-2: Mark as tunable.
* gnu/packages/ncdu.scm (ncdu-2)[properties]: Mark package as tunable.

Change-Id: I9cd9bd45be6c32c44da983432d69128657b98591
2023-12-03 09:58:34 +02:00
Ekaitz Zarraga
2cc6e09a03
transformations: Add support for zig.
* guix/transformations.scm (tuning-compiler): Add support for zig.

Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-03 09:58:34 +02:00
Efraim Flashner
87bb9c9664
gnu: zig: Add tuning information.
* gnu/packages/zig.scm (zig-0.9, zig-0.10)[properties]: Add
clang-properties matching input clang packages.

Change-Id: Ib4a665a29e925b85d0e7695810a8889951dd1602
2023-12-03 09:54:57 +02:00
Efraim Flashner
95b577e09a
gnu: llvm: Export clang-properties.
* gnu/packages/llvm.scm (clang-properties): Export variable.

Change-Id: If5ef5219c3d29a347ae5ad97584c23bafdabf836
2023-12-03 09:54:57 +02:00
Efraim Flashner
823c6f745a
gnu: ncdu-2: Remove redundant make-flag.
* gnu/packages/ncdu.scm (ncdu-2)[arguments]: Remove make-flag setting
CPU to baseline.

Change-Id: If2770d381404621648f53a8e64da8ffafcc33a8d
2023-12-03 09:54:03 +02:00
Ekaitz Zarraga
a8a7153996
gnu: zig: Build with baseline cpu by default.
* gnu/packages/patches/zig-use-baseline-cpu-by-default.patch: Add file.
* gnu/packages/zig.scm (zig-0.10.1): Apply patch above.
* gnu/local/mk (dist_patch_DATA): Register it.

Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-03 09:54:03 +02:00
Efraim Flashner
766946d663
gnu: ldc: Update to 1.35.0.
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.35.0.
[arguments]: Adjust configure-flags to not build shared libraries.
(ldc)[arguments]: Adjust configure-flags to remove defaults.  Adjust
'patch-paths-in-tests phase for another hardcoded /bin/bash.  Delete
another test.

Change-Id: Ie284a97ecda2689e6ed84a902eff990cfae8c195
2023-12-02 20:39:28 +02:00
Efraim Flashner
6897a6a481
gnu: python-lit: Update to 17.0.6.
* gnu/packages/check.scm (python-lit): Update to 17.0.6.
[native-inputs]: Remove llvm-14; add llvm.

Change-Id: I45ccc5302c2481b82f26201e66994e15eeaecc9d
2023-12-02 20:39:27 +02:00
Efraim Flashner
fc7db2df40
gnu: ldc: Enable building on more architectures.
* gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase
'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to
pass-through unmatched architectures.
2023-12-02 20:39:22 +02:00
Julien Lepiller
06ebc45e15
gnu: josm: Reduce closure size.
This saves 240MB of closure size.

* gnu/packages/geo.scm (josm)[inputs]: Add openjdk11.
[arguments]: Filter native inputs out of CLASSPATH.  Use `java' from
openjdk11 instead of the JDK.

Change-Id: Ifa03b5cd033c5866d22e7557119284be0ea25a0e
2023-12-02 19:07:56 +01:00
Julien Lepiller
a640ce3fb2
gnu: java-openjfx-graphics: Make java-swt optional.
It is used for an optional part of openjfx and not used by current
packages in Guix. Swt has a reference to a library in the JDK and has a
huge closure size because of that.  This reduces closure by 1GB for this
package and dependents (including josm).

* gnu/packages/java.scm (java-openjfx-graphics)[native-inputs]: Move java-swt...
[inputs]: ...to here.

Change-Id: I7d8cb14569d5a9f451944695225a2dff143bf190
2023-12-02 19:07:51 +01:00
Julien Lepiller
406e46a159
gnu: javacc: Do not reference a jdk.
The jdk provides java and javac, while a jre only provides the necessary
java, reducing the closure size by 350MB.

* gnu/packages/java.scm (javacc): Remove #t at end of phases.
[inputs]: Add icedtea-8 as the jre.
[arguments]: Use it instead of the jdk.

Change-Id: Icb218c40915550b7ff1db96a48a3c48fa6ef52b4
2023-12-02 19:07:45 +01:00
Filip Lajszczak
7ab24d717d
gnu: hut: Update to 0.4.0
* gnu/packages/version-control.scm (hut): Update to 0.4.0

Change-Id: Ib5dc28de6dbc3b69ca55a9530b923f71ca0ce7b5
Signed-off-by: Andrew Tropin <andrew@trop.in>
Co-authored-by: Andrew Tropin <andrew@trop.in>
2023-12-02 18:16:23 +03:00
Filip Lajszczak
2baad07da4
gnu: go-git-sr-ht-emersion-gqlclient: Update to 0.0.0-20230820050442-8873fe0204b9
* gnu/packages/golang.scm (go-git-sr-ht-emersion-gqlclient): Update to 0.0.0-20230820050442-8873fe0204b9

Change-Id: I15a35a0f25dd248938839ae766569e6fbf304ed6
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-12-02 18:09:05 +03:00
Janneke Nieuwenhuizen
7668bfa222
gnu: guix: Update to 1.4.0-16.aeb494322c.
* gnu/packages/package-management.scm (guix): Update to 1.4.0-16.aeb494322c.

Change-Id: Iae1af05094a1a589096a77ed61cf11dcec50f7a8
2023-12-02 15:37:44 +01:00
Hugo Nobrega
aeb494322c
gnu: d-tools: Update to 2.105.3.
The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib

* gnu/packages/dlang.scm (d-tools): Update to 2.105.3.

Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:35:01 +01:00
Timothee Mathieu
daf69ad3ab
gnu: Add python-scikit-learn-extra.
* gnu/packages/machine-learning.scm (python-scikit-learn-extra): New variable.

Change-Id: I50992ceaa76608f3345df6d74a5d9e4aa7c485a5

gnu/packages/machine-learning.scm | 41 +++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:35:01 +01:00
Filip Lajszczak
4fb51904cb
gnu: python-pythonanywhere: Update to 0.12.1
* gnu/packages/python-xyz.scm (python-pythonanywhere): Update to 0.12.1

Change-Id: I3436ed7fbbe3e3dae2c5e47fa1c96cc0fd750f76
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:25:46 +01:00
David Elsing
808f919063
gnu: igraph: Update to 0.10.7.
* gnu/packages/graph.scm (igraph): Update to 0.10.7.
[source]: Use git-fetch. Apply patch.
<snippet>: Remove the entire "vendor" and "src/isomorphism/bliss" directories.
Patch CMakeLists.txt to not build and use vendored dependencies.
[arguments]: Add -DIGRAPH_INTEGER_SIZE=64 to #:configure-flags. Add phases to
use unbundled libraries and build documentation.
[native-inputs]: Add bison, docbook-xml-4.3, docbook-xsl, flex, pcg-c, python,
source-highlight and xmlto.
[inputs]: Remove gmp and libxml2. Add bliss and suitesparse-cxsparse.
* gnu/packages/patches/igraph-fix-varargs-integer-size.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:25:46 +01:00
David Elsing
aa4959e602
gnu: Add pcg-c.
* gnu/packages/c.scm (pcg-c): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:25:46 +01:00
Janneke Nieuwenhuizen
b0715d7cd2
gnu: Use ‘libc-utf8-locales-for-target’.
* guix/packages.scm (%standard-patch-inputs): Use
‘libc-utf8-locales-for-target’ instead of ‘glibc-utf8-locales’.
* guix/self.scm (%packages): Likewise.
* gnu/home/services/ssh.scm (file-join): Likewise
* gnu/installer.scm (build-compiled-file): Likewise.
* gnu/packages/chromium.scm (ungoogled-chromium/wayland): Likewise.
* gnu/packages/gnome.scm (libgweather4, tracker): Likewise.
* gnu/packages/javascript.scm (js-mathjax): Likewise.
* gnu/packages/package-management.scm (guix, flatpak): Likewise.
* gnu/packages/raspberry-pi.scm (raspi-arm64-chainloader): Likewise.
* gnu/packages/suckless.scm (svkbd): Likewise.
* gnu/services.scm (cleanup-gexp): Likewise.
* gnu/services/base.scm (guix-publish-shepherd-service): Likewise.
* gnu/services/guix.scm (guix-build-coordinator-shepherd-services)
(guix-build-coordinator-agent-shepherd-services): Likewise.
* gnu/services/guix.scm (guix-build-coordinator-queue-builds-shepherd-services):
(guix-data-service-shepherd-services)
(nar-herder-shepherd-services)
(bffe-shepherd-services): Likewise.
* gnu/services/web.scm (anonip-shepherd-service)
(mumi-shepherd-services): Likewise.
* gnu/system/image.scm (system-disk-image, system-iso9660-image)
(system-docker-image, system-tarball-image): Likewise.
* gnu/system/install.scm (%installation-services): Likewise.
* guix/profiles.scm (info-dir-file): Likewise.
(ca-certificate-bundle, profile-derivation): Likewise.
* guix/scripts/pack.scm (store-database, set-utf8-locale): Likewise.
* tests/pack.scm: Likewise.
* tests/profiles.scm ("profile-derivation, cross-compilation"):
Likewise.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Christopher Baines <mail@cbaines.net>
Change-Id: I24239f427bcc930c29d2ba5d00dc615960a6c374
2023-12-02 12:25:45 +01:00
Janneke Nieuwenhuizen
9442b53c6b
gnu: Add ‘libc-locales-for-target’ and related.
Partly fixes <https://issues.guix.gnu.org/66472>.

This is a followup to 95ea1277ae.

* gnu/packages/base.scm (glibc-locales/hurd): New variable
(libc-locales-for-target): Use it in new procedure.
(libc-utf8-locales-for-target): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I16e187fcc65a5d4a3b065066b45ef9e45d1875f6
2023-12-02 12:25:45 +01:00
Janneke Nieuwenhuizen
ea348b105d
gnu: mes: Update to 0.25.1.
* gnu/packages/mes.scm (mes): Update to 0.25.1.
(supported-systems): Remove aarch64-linux (building on aarch64-linux is only
"supported" using armhf-linux compatibility).

Change-Id: I97a95c1e246d5698db6d78f845a188826817f3be
2023-12-02 09:15:50 +01:00
Janneke Nieuwenhuizen
a84bb5e600
gnu: mescc-tools: Update to 1.5.2.
* guix/git/mes.scm (mescc-tools): Update to 1.5.2.
(arguments): Remove `patch-Kaem/test.sh' phase.

Change-Id: I47d7f3159a1e6395ffbb9141147c9cbf0676f22b
2023-12-02 09:15:50 +01:00
Lars-Dominik Braun
877086a864
gnu: python-sphinx-prompt: Fix tests.
docutils>=0.19 broke the tests, which upstream fixed in a newer
commit. Cherry-pick it.

* gnu/packages/patches/python-sphinx-prompt-docutils-0.19.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/sphinx.scm (python-sphinx-prompt)[origin]: Use it.

Change-Id: I597387a35e6a1da01063b4812e0f919788a13b54
2023-12-02 07:57:18 +01:00
Bruno Victal
842a11f1ca
gnu: emacs-magit: Update to 3.3.0-7.dda332b.
* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 3.3.0-7.dda332b.

Copyright-paperwork-exempt: Yes
Change-Id: Icb119958ec806f96ebe18567492a9611c56572e1
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-12-01 13:24:16 +03:00
Florian Pelz
efe1a9c9ac
nls: Update translations.
* po/guix/ca.po: New file.
* po/guix/LINGUAS: Add ca.$

Change-Id: Ibae3f58ba702d7c5a4fafdd59a19f70aa8e18212
2023-12-01 08:39:57 +01:00
David Thompson
2b782f6726
gnu: guile-hoot: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-hoot): Update to 0.2.0.

Change-Id: I3bf5f457ef2359588889962ab3bbbc2d47b4a022
2023-11-30 11:58:41 -05:00