me
/
guix
Archived
1
0
Fork 0
Commit Graph

127910 Commits (92e2de6fb400ff445106f2d7a4f5f5b1a009c87b)

Author SHA1 Message Date
Efraim Flashner 92e2de6fb4
ci: Don't cross compile to avr.
* gnu/ci.scm (cross-jobs)[pointless?]: Don't build any packages for avr.

Change-Id: I1728727874d65461b82364e71b70c7d1fd050d90
2023-12-12 13:58:16 +02:00
Pierre Neidhardt 355a57fb84
gnu: sbcl-serapeum: Update to 20231203.
* gnu/packages/lisp-xyz.scm (sbcl-serapeum): Update to 20231203.

Change-Id: If8c364cde4dce2943d6e21770eec90c1ab05bc67
2023-12-12 11:25:19 +01:00
Efraim Flashner baeff7f546
gnu: openssl: Don't error when targeting avr.
* gnu/packages/tls.scm (target->openssl-target): Add case for avr.

Change-Id: I1cfc8b50fa4b2b864f8f8aa8898cc405ffc02580
2023-12-12 09:32:10 +02:00
Efraim Flashner f03029a00e
gnu: system->llvm-target-arch: Add avr target.
* gnu/packages/llvm.scm (system->llvm-target-arch): Add case for avr.

Change-Id: I5291d396ad513cfecdf8f0a6f799ea095fc8d994
2023-12-12 08:57:10 +02:00
Efraim Flashner 0cc7fc0025
gnu: make-crust-package: Don't run from avr.
* gnu/packages/firmware.scm (make-crust-package)[arguments]: In
make-flags don't create tools which can be run from avr.

Change-Id: I118b4941889b884de1e491ace3818d878a887d7c
2023-12-12 08:45:46 +02:00
Hilton Chain 5df4084ecd
gnu: linux-libre: Update to 6.6.6.
This kernel release fixes WiFi regressions introduced in 6.6.5:

https://lore.kernel.org/lkml/2023121141-mongoose-dazzler-be1b@gregkh/T/#t
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.6

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

Change-Id: I502e166eaa7c179c52c581e311d3055032448be9
2023-12-12 06:54:15 +08:00
Zhu Zihao 46ec8592f7
gnu: lean: Update to 3.51.1.
* gnu/packages/lean.scm (lean): Update to 3.51.1.
[home-page]: Use new home page.
[arguments]<#:phases>: Remove stale phase 'patch-tests-shebangs'.
[inputs]: Remove bash-minimal.

Change-Id: Ib90a124b4a6b06fb30223ad4b9254249e56dd086
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:39:05 +01:00
Zhu Zihao f1bcc043a4
gnu: lean: Use G-expressions.
* gnu/packages/lean.scm (lean)[arguments]: Use G-expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:39:01 +01:00
Jack Hill 17213c1b20
gnu: pdfarranger: Update to 1.10.1.
* gnu/packages/pdf.scm (pdfarranger): Update to 1.10.1.
[arguments]: Add set-home phase.

Change-Id: Id31925e7e34fc4b23abb73456bac8cd0012f1d6f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:34:31 +01:00
Sergey Trofimov d74faef4f7
gnu: openvpn: Update to 2.6.7.
* gnu/packages/vpn.scm (openvpn): Update to 2.6.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:24:19 +01:00
Ludovic Courtès 4348947c74
weather: Report unauthorized substitute servers.
The goal is to make it easier to diagnose substitute
misconfiguration (where we’re passing a substitute URL whose
corresponding key is not authorized).

Suggested by Emmanuel Agullo.

* guix/scripts/weather.scm (check-narinfo-authorization): New procedure.
(report-server-coverage): Use it.
* doc/guix.texi (Invoking guix weather): Document it.
(Getting Substitutes from Other Servers): Add “Troubleshooting” frame.

Change-Id: I0a049c39eefb10d6a06634c8b16aa86902769791
2023-12-11 23:19:04 +01:00
Ludovic Courtès 7e11369586
weather: Use the same substitute URLs as guix-daemon.
* guix/scripts/weather.scm (%default-options): Remove ‘substitute-urls’.
(guix-weather): Call ‘substitute-urls’ when OPTS doesn’t have it.  Warn
when ‘substitute-urls’ returns #f.
* doc/guix.texi (Invoking guix weather): Adjust accordingly.

Change-Id: I3e9100074f2ad559e5c408660db70430d64f2bef
2023-12-11 23:19:00 +01:00
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