Commit Graph

127898 Commits

Author SHA1 Message Date
Ludovic Courtès
f63a8c5ca2
challenge: Use the same substitute URLs as guix-daemon.
* guix/scripts/challenge.scm (%default-options): Remove ‘substitute-urls’.
(guix-challenge): Call ‘substitute-urls’ when OPTS doesn’t have it.  Warn
when ‘substitute-urls’ returns #f.

Change-Id: I49be0e89404c1889970a3430967fbb3498d35d99
2023-12-11 23:18:57 +01:00
Ludovic Courtès
1e47148f46
daemon: Implement ‘substitute-urls’ RPC.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump.
(WorkerOp): Add ‘wopSubstituteURLs’.
* nix/nix-daemon/nix-daemon.cc (performOp): Implement it.
* guix/store.scm (%protocol-version): Bump.
(operation-id): Add ‘substitute-urls’.
(substitute-urls): New procedure.
* tests/store.scm ("substitute-urls, default")
("substitute-urls, client-specified URLs")
("substitute-urls, disabled"): New tests.

Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de
2023-12-11 23:18:53 +01:00
Raphaël Mélotte
b650dcabf1
doc: suggest using pre-inst-env for git-send-email on foreign distros
On foreign distros, not using pre-inst-env when using git-send-email results
in a backtrace ending with: no code for module (guix ui)
This can be confusing as users did not have to use pre-inst-env to use
git-send-email before.

* doc/contributing.texi (Sending a Patch Series): add a note to suggest using
pre-inst-env when calling git-send-email on foreign distros.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:16:27 +01:00
Ludovic Courtès
7217c93486
gnu: libgpg-error: Do not assume that target is a triplet.
Fixes a bug exposed with be5ec2ebb4, which
introduces the “avr” target, which has no hyphen.

* gnu/packages/gnupg.scm (libgpg-error)[arguments]: In ‘cross-symlinks’
phase, adjust code to deal with TARGET lacking a hyphen.

Change-Id: I1aff6a94a7c92626f931c459d1dc0509f9bcfc00
2023-12-11 23:11:26 +01:00
Leo Famulari
4bf4e340b7
gnu: Remove linux-libre 6.5.
This kernel series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-6.5-version, linux-libre-6.5-gnu-revision,
deblob-scripts-6.5, linux-libre-6.5-pristine-source, linux-libre-6.5-source,
linux-libre-headers-6.5, linux-libre-6.5): Remove variables.
* gnu/packages/aux-files/linux-libre/6.5-arm.conf,
gnu/packages/aux-files/linux-libre/6.5-arm64.conf,
gnu/packages/aux-files/linux-libre/6.5-i686.conf,
gnu/packages/aux-files/linux-libre/6.5-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.

Change-Id: I142c28a82ab4afbdc62f5bfcd69382a4d2a0ea8c
2023-07-23 22:26:01 -04:00
Leo Famulari
369e7e91de
gnu: linux-libre 4.14: Update to 4.14.332.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.332.
(linux-libre-4.14-pristine-source): Update hash.

Change-Id: If24c7d599583a042ca224e87b9e54b46954e4c16
2023-07-23 22:26:01 -04:00
Leo Famulari
073adbb60a
gnu: linux-libre 4.19: Update to 4.19.301.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.301.
(linux-libre-4.19-pristine-source): Update hash.

Change-Id: I0c47e3ba6ef708209e4966451e9749945cdc3ea1
2023-07-23 22:26:01 -04:00
Leo Famulari
56b02d51b6
gnu: linux-libre 5.4: Update to 5.4.263.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.263.
(linux-libre-5.4-pristine-source): Update hash.

Change-Id: I5a8bb2335e0d3ee2bb40da0a6162de8c5061e1f7
2023-07-23 22:26:01 -04:00
Leo Famulari
0d794106fc
gnu: linux-libre 5.10: Update to 5.10.203.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.203.
(linux-libre-5.10-pristine-source): Update hash.

Change-Id: I9f0337dd86718bc50460d0d3a65b6a91efda0358
2023-07-23 22:26:00 -04:00
Leo Famulari
e049eb85d5
gnu: linux-libre 5.15: Update to 5.15.142.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.142.
(linux-libre-5.15-pristine-source): Update hash.

Change-Id: I4a376343b2f06e9db685a61f0033cf70b94fc0c4
2023-07-23 22:26:00 -04:00
Leo Famulari
e3ac66bd89
gnu: linux-libre: Update to 6.6.5.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.5.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: I4c3e3923da171ff7edff412dd59f899edbd9ddb0
2023-07-23 22:26:00 -04:00
Hilton Chain
8e0847e038
gnu: linux-libre 6.1: Update to 6.1.67.
This kernel release fixes WiFi regressions introduced in 6.1.66:

https://lore.kernel.org/lkml/2023121147-turban-polish-002d@gregkh/T/#t
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.67

* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.67.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Id2ef8f7f5d8c0af19284a3e6cd1283e029b3eb38
2023-12-11 23:03:02 +08:00
Efraim Flashner
911c3deb40
guix: platform: Add platform-rust-target.
* guix/platform.scm <platform>: Add rust-target field.
* guix/platforms/arm.scm (armv7-linux, aarch64-linux): Add the system's
rust target triplet.
* guix/platforms/mips.scm (mips64-linux):
* guix/platforms/powerpc.scm (powerpc-linux, powerpc64-linux,
powerpc64le-linux):
* guix/platforms/riscv.scm (riscv64-linux):
* guix/platforms/x86.scm (i686-linux, x86_64-linux, i686-mingw,
x86_64-mingw, i586-pc): Same.

Change-Id: Id9dca0fb8ec2b3bf2b3876b974e4bbaa30dbc6a6
2023-12-11 13:50:48 +02:00
Jean-Pierre De Jesus DIAZ
f668ab0fd7
gnu: Add gcc-cross-x86_64-w64-mingw32-toolchain.
* gnu/packages/cross-toolchain.scm (gcc-cross-x86_64-w64-mingw32-toolchain):
New variable.

Change-Id: I94802e5e7cb218d7afb0ee09871125bae5db933c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:40:29 +02:00
Jean-Pierre De Jesus DIAZ
2479e60094
gnu: Add gcc-cross-i686-w64-mingw32-toolchain.
* gnu/packages/cross-toolchain.scm (gcc-cross-i686-w64-mingw32-toolchain):
New variable.

Change-Id: I5d6056fc4943acae03aeaafa587f40ced182b1d4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:40:12 +02:00
Jean-Pierre De Jesus DIAZ
bc7343fdb0
gnu: lufa: Use AVR target.
* gnu/packages/avr-xyz.scm (lufa)[arguments]: Add avr as target.
[native-inputs]: Remove make-avr-toolchain.

Change-Id: I792132a9211b1aa64283f9b4e76a4dd57e86646d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:39:41 +02:00
Jean-Pierre De Jesus DIAZ
670c7560d1
gnu: make-qmk-firmware: Use AVR target.
* gnu/packages/firmware.scm (qmk)[inputs]: Remove AVR toolchain.
[arguments]: Adjust phase wrapping output.
(make-qmk-firmware/implementation)[arguments]: Add avr as target.

Change-Id: Ibe09f6ef3c555052faf2c5c243303d85675866be
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:59 +02:00
Jean-Pierre De Jesus DIAZ
30d25ee201
gnu: make-ergodox-firmware: Use AVR target.
* gnu/packages/firmware.scm (make-ergodox-firmware/implementation):
[arguments]: Add avr as target.
[native-inputs]: Remove make-avr-toolchain.

Change-Id: I4345a55d5dbd436d524de4886969b3332c6288a9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:21 +02:00
Jean-Pierre De Jesus DIAZ
a9a51b0dca
gnu: Add gcc-cross-avr-toolchain.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add cross-toolchain.scm.
* gnu/packages/cross-toolchain.scm (gcc-cross-avr-toolchain): New variable.

Change-Id: Ie768d5cc0663dd57753af1d4ac631b3cafbf9e8c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:21 +02:00
Jean-Pierre De Jesus DIAZ
f9cb95d9b4
gnu: Add cross-gcc-toolchain procedure.
* gnu/packages/cross-base.scm (cross-gcc-toolchain/implementation,
cross-gcc-toolchain): New procedures.

Change-Id: I994067eac094d0a50a7399e61bda944eded9187f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:21 +02:00
Jean-Pierre De Jesus DIAZ
06587003b8
guix: meson-build-system: Disable PIC for AVR.
* guix/build-system/meson.scm (make-built-in-options-alist): New procedure.
(make-cross-file): Add 'built-in options' section to cross file.

Change-Id: Ifff7f6fb1eb8b0e8ddd04881d22acb863c9e85b2
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:20 +02:00
Jean-Pierre De Jesus DIAZ
119edc3c9b
guix: meson-build-system: Support AVR.
* guix/build-system/meson.scm (make-machine-alist): Add cases for avr
for system, cpu_family and cpu.

Change-Id: Ie47d666099c4c48edd36812f035625dccc4a3900
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:36:52 +02:00
Jean-Pierre De Jesus DIAZ
8afa806f32
gnu: cross-gcc: Only C and C++ for AVR.
* gnu/packages/cross-base.scm (cross-gcc-arguments)
<configure-flags> [target-avr?]: Add --enable-languages=c,c++.

Change-Id: I1d63bb1b0a3074b9ff8650c5afb93777183c0ea4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:36:51 +02:00
Jean-Pierre De Jesus DIAZ
d149073eaf
gnu: cross-gcc: Find AVR Libc files.
* gnu/packages/cross-base.scm (cross-gcc-arguments)
<configure-flags>: Add --with-native-system-header-dir for AVR.
<make-flags>: Add target prefix to /lib to find AVR library.

Change-Id: Ie9cae338da241fe987f53463aa3774a890e2af9a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:36:51 +02:00
Jean-Pierre De Jesus DIAZ
c7d2faf178
gnu: cross-toolchain: Add set-cross-path for AVR.
* gnu/build/cross-toolchain.scm (set-cross-path/avr): New procedure.
(cross-gcc-build-phases) [string-prefix? "avr"]: Return
set-cross-path/avr procedure.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
Change-Id: I00bd39236ac2e31fef02164a7fffc8b56a166f0d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:36:51 +02:00
Jean-Pierre De Jesus DIAZ
58490a9311
gnu: cross-gcc: Handle AVR inputs.
* gnu/packages/cross-base.scm (cross-gcc)[native-inputs]: Add case to
handle AVR.

Change-Id: I1ac38b721ed807302747cecb5fb1f6075694a01a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:36:24 +02:00
Jean-Pierre De Jesus DIAZ
dfc1701724
gnu: cross-libc: Add AVR Libc support.
* gnu/packages/avr.scm (make-avr-libc/implementation)[arguments]: Add
avr target parameter and disable implicit cross inputs.
[native-inputs]: Rename avr-gcc and avr-binutils to cross-gcc
and cross-binutils to keep consistency with gnu-build-system.
* gnu/packages/cross-base.scm (cross-libc): Add case for avr.

Change-Id: I6b087946d1287a82fac61c48c513e7f2d2184794
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:34:17 +02:00
Jean-Pierre De Jesus DIAZ
f49ccd9cef
gnu: cross-gcc: Handle target include paths.
* gnu/packages/cross-base.scm (cross-gcc-search-paths): New procedure.
(cross-gcc)[search-paths]: Convert to and use cross-gcc-search-paths
procedure.

Change-Id: Id306782eaf928d05cd005b9539087ed631506b5b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:33:53 +02:00
Jean-Pierre De Jesus DIAZ
9095e10620
gnu: cross-gcc: Enable multilib for AVR.
* gnu/build/cross-toolchain.scm (patch-multilib-shebang): New procedure.
* gnu/packages/avr.scm (make-avr-gcc): Remove uneeded phases and flags
  for multilib.
* gnu/packages/cross-base (cross-gcc-arguments) <#:configure-flags>
  [target-avr?]: Remove --disable-multilib and add --enable-multilib.

Change-Id: Id68d803057ac898f0a670f10487b08bf0891ab0b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:24:09 +02:00
Jean-Pierre De Jesus DIAZ
a075ac8854
gnu: make-avr-libc: Fix synopsis.
* gnu/packages/avr.scm (make-avr-libc/implementation): Drop 'The' from
  synopsis.

Change-Id: Idb6c008d709a988075789a6220af63f4917c2179
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:24:09 +02:00
Jean-Pierre De Jesus DIAZ
7d1041820c
gnu: microscheme: Move to avr-xyz.
* gnu/packages/avr.scm (microscheme): Move to ...
* gnu/packages/avr-xyz.scm (microscheme): ... here.

Change-Id: I1272bfc98b583ab0ab36fcba5a8e19ae018b0b80
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:24:09 +02:00
Jean-Pierre De Jesus DIAZ
520e3d267e
guix: Add target-avr?.
* guix/utils.scm (target-avr?): New procedure.
* tests/utils.scm: Add tests for target-avr? procedure.

Change-Id: Iaa0fa97a2b6bc45d45f907f43157f1548a0ba3fa
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 11:53:54 +02:00
Jean-Pierre De Jesus DIAZ
be5ec2ebb4
guix: Add avr platform.
* Makefile.am (MODULES): Add avr platform module.
* doc/guix.texi: Add documentation for avr platform.
* guix/platforms/avr.scm (avr): New variable.

Change-Id: I0f425eac61a71390b618e093f5a034ad4205a6f4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 11:53:54 +02:00
Jean-Pierre De Jesus DIAZ
b40a44430f
guix: gnu-build-system: Handle missing libc.
* guix/build-system/gnu.scm (standard-cross-packages): Handle the case
  when `cross-libc` returns #f.

Change-Id: I85ee5456f10ff141d521a5f2d91267cd612c5616
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 11:53:54 +02:00
Jean-Pierre De Jesus DIAZ
444a40c75a
gnu: cross-libc: Return #f if no libc available.
* gnu/packages/cross-base.scm (cross-libc): Return #f if no libc is
available for the given TARGET.

Change-Id: I17d19716373dd5704bb70d805437738fd29bd96b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 11:53:48 +02:00
Efraim Flashner
8e61e63515
gnu: gerbv: Use a source file-name.
* gnu/packages/engineering.scm (gerbv)[source]: Add file-name field.

Change-Id: Ia0264233a75aa6fc2bd54de23c9510e184cbee31
2023-12-11 08:31:26 +02:00
Mădălin Ionel Patrașcu
9535cee6cd
gnu: Add r-polyester.
* gnu/packages/bioconductor.scm (r-polyester): New variable.

Change-Id: I415089cda3214ec04402fc6f4505fa868414d0e2
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-12-11 06:27:42 +01:00
Leo Famulari
6533454767
gnu: linux-libre 6.1: Update to 6.1.66.
This release contains fix for an Ext4 data corruption bug introduced in 6.1.64:

https://lore.kernel.org/all/20231205122122.dfhhoaswsfscuhc3@quack3/T/#t
https://lwn.net/Articles/954285/

Only 6.1.64 and 6.1.65 are affected kernel releases:

https://lists.gnu.org/archive/html/guix-devel/2023-12/msg00082.html

* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.66.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: I788e4e6bd49607bc7301d8dd780ebebd7c213313
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-11 11:18:21 +08:00
Rodion Goritskov
a90bc8b6a8
gnu: openmw: Update to 0.48.0.
* gnu/packages/game-development.scm (openmw): Update to 0.48.0.
* gnu/packages/graphics.scm (openmw-openscenegraph): Update to commit 68c5c5.

Change-Id: I5e1ae0d59ead8de7976714cb82e8d514c308f19a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-10 22:28:53 +01:00
Artyom V. Poptsov
ad0c116508
gnu: guile-gitlab: Improve the package style.
* gnu/packages/guile-xyz.scm (guile-gitlab): Improve the package style.
  [inputs]: Remove input labels.

Change-Id: I449a02e1f9d700f678bb09961b896dea1627632e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-10 22:26:58 +01:00
Artyom V. Poptsov
17835e2e0d
gnu: guile-smc: Update to 0.6.3.
* gnu/packages/guile-xyz.scm (guile-smc): Update to 0.6.3.

Change-Id: I7569db118c85f86e11906c41f4256be173ccc092
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-10 22:24:14 +01:00
Giacomo Leidi
be3b7f4467
services: Fix oci-container-service-type container user.
The oci-container-configuration supports two user fields: one is the
user, from the host system, under whose authority the OCI-backed
Shepherd service is run; the other is an optional user/UID that can be
passed to the docker run invokation to override the user defined in the
OCI image.

The user from the host system is incorrectly passed to docker run
command, this patches reverts the incorrect behavior and passes the
correct container-user field value.

* gnu/services/docker.scm (oci-container-configuration): Fix the user
passed to the docker run invokation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-10 22:23:29 +01:00
Leo Nikkilä
cd8ea377d7
file-systems: Add tracefs to %pseudo-file-system-types.
* gnu/system/file-systems.scm (%pseudo-file-system-types): Add tracefs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-10 21:47:52 +01:00
Ludovic Courtès
1300c316e9
gnu: ‘make-icecat-extension’ inherits package location.
This is an improvement for the purposes of ‘guix edit’ & co.

* gnu/build/icecat-extension.scm (make-icecat-extension): Add ‘location’
field.

Change-Id: I896ae6823b3fe4ea013fa74e2c536f45664d8042
2023-12-10 21:46:52 +01:00
Ludovic Courtès
5f0811a9aa
gnu: Add KeePassXC-Browser.
* gnu/packages/browser-extensions.scm (keepassxc-browser)
(keepassxc-browser-icecat): New variable.

Change-Id: I6f85228e4e012f3e5f8c913fda38287255573604
2023-12-10 21:46:51 +01:00
Ludovic Courtès
e154196736
gnu: keepassxc: Record file name of ‘xclip’ and ‘wl-copy’.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add
‘record-clipboard-programs’ phase.
[inputs]: Add WL-CLIPBOARD and XCLIP.

Change-Id: I3cfe3d8604da575f6bf5e5cf3ce862fbac099ab6
2023-12-10 21:46:51 +01:00
Efraim Flashner
63e06f30ce
gnu: ubuntu-keyring: Update to 2023.11.28.1.
* gnu/packages/debian.scm (ubuntu-keyring): Update to 2023.11.28.1.
[native-inputs]: Remove gzip; add xz.

Change-Id: Id90acc7a58085321ac96b6ab520f54b20911a8c1
2023-12-10 10:24:45 +02:00
Efraim Flashner
9c30fb27a4
gnu: tor: Update to 0.4.8.10.
* gnu/packages/tor.scm (tor): Update to 0.4.8.10.

Change-Id: Ibc11c83c3fea920c6b876a22cb4c96d5c927beb5
2023-12-10 09:49:26 +02:00
Efraim Flashner
556aa31050
gnu: llvm-14: Fix building on powerpc-linux.
* gnu/packages/llvm.scm (llvm-14)[arguments]: When building for
powerpc-linux adjust the configure-flags to always link shared libraries
with -latomic.

Change-Id: If020528bf1717595b66e6e0826dbe7a0c1128322
2023-12-10 08:15:43 +02:00
Michael Ford
2e11caff39
gnu: LLVM, Clang, libomp, lld: Update to 17.0.6.
* gnu/packages/llvm.scm (llvm-17, clang-17, libomp-17, lld-17):
Update to 17.0.6.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: I7757b8e55e6a7ffc8185d366ba77706abaf5a798
2023-12-10 11:09:28 +08:00