Commit Graph
1122 Commits
Author SHA1 Message Date
Guillaume Le Vaillant 8468105f15 gnu: linux-libre: Add configuration file for riscv64.
* gnu/packages/aux-files/linux-libre/7.1-riscv.conf: New file.
* Makefile.am (AUX_FILES): Register it.
2026-07-18 17:12:05 +02:00
Maxim Cournoyer 230a8b05a8 build/node: Add `delete-dependencies/except' procedure.
This adds a more convenient means to filter out most, but not all, development
dependencies.

* guix/build/node-build-system.scm (%dependency-keys)
(%dev-dependency-keys): New variables.
(delete-dependencies) [#:negate?, #:dependency-keys]: New arguments.  Log
removed dependencies.
(delete-dependencies/except, delete-dev-dependencies/except): New procedures.
* tests/node.scm: New test.
* Makefile.am (SCM_TESTS): Register it.
2026-07-08 18:33:27 +02:00
Wilko MeyerandVagrant Cascadian 9260563c31 gnu: Add linux-libre 7.1.
* gnu/packages/linux.scm (linux-libre-7.1-version,
linux-libre-7.1-gnu-revision, deblob-scripts-7.1,
linux-libre-7.1-pristine-source, linux-libre-7.1-source,
linux-libre-headers-7.1, linux-libre-7.1): New variables.
* gnu/packages/aux-files/linux-libre/7.1-arm64.conf: New file.
* gnu/packages/aux-files/linux-libre/7.1-x86_64.conf: New file.
* Makefile.am (AUX_FILES): Register new files.
* gnu/packages/patches/linux-libre-fix-arm64-bin-sh.patch: New file.
* gnu/packages/linux.scm (linux-libre-7.1-source): Use patch.
* gnu/local.mk (dist_patch_DATA): Register patch.

Co-Authored-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-07-07 12:03:14 -07:00
Vagrant Cascadian af5526ac3b Makefile.am: Fix typo specifying linux-libre riscv configuration in aux-files.
Fixes: d77f9c9eb0 which introduced the typo.

* Makefile.am (AUX_FILES): Fix typo.
2026-06-22 13:49:56 -07:00
Vagrant Cascadian d77f9c9eb0 gnu: Makefile.am: Register missing linux-libre configuration for 7.0 riscv.
* Makefile.am (AUX_FILES): Register linux-libre/7.0-riscv64.conf.
2026-06-22 12:55:26 -07:00
Maxim Cournoyer 59b2b4b3c2 build: Emit warning/tips when git auto-configuration is not possible.
And otherwise do not abort the build.

* configure.ac (ENDIF): New output variable.
* Makefile.am (GIT_CORE_HOOKS_PATH, NL): New variables.  Add conditional
warnings messages.
(git_hooks_checks): New variable.
($(GIT_HOOKS_DIR)/pre-push, $(GIT_HOOKS_DIR)/commit-msg): Use it.

Reported-by: Nicolas Graves <ngraves@ngraves.fr>
Merges: !9031
Fixes: #8064
2026-06-12 18:27:39 +09:00
Maxim Cournoyer 81a7856dd8 Revert "build: Add a commit-msg hook that embeds Change-Id in commit messages."
This reverts commit 8005e09b26 and follow-ups.
This was added 2 years ago to be able to trace commits between the git
repository and the guix-patches tracker, and to implement a solution to
automatically close merged commits (which has not materialized).

Since we have now migrated to Codeberg, the cross-referencing between reviewed
commits (pull requests) and the actual commits merged can be done in the
Codeberg UI (via the 'manually merged' option), and Codeberg also supports
closing a bug via the "Fixes: #NNN" git trailer, and as a convention we can
add a "Merges: !NNN" git trailer in a commit closing a PR (the actual closing
is not yet implemented by Forgejo), which mostly obsoletes the purpose of the
Change-Id git trailer.
2026-06-12 18:19:18 +09:00
Maxim Cournoyer dc64ec527c build: Ensure the installed pre-push git hook matches its source.
* Makefile.am ($(GIT_HOOKS_DIR)/pre-push): Make a phony target, and copy file
when the target differs from its prerequisite.

Fixes: #7645
Reported-by: Gábor Udvari <mail@gaborudvari.com>
Change-Id: I6b5f677afe59c25a4d8905da814af4bbd91fb401
2026-05-29 11:52:12 +09:00
Nicolas Graves 4f4ee46179 build-system/pyproject: Ignore selected pytest inputs.
This commit includes squashed changes from
https://codeberg.org/guix/guix/pulls/7220 and
https://codeberg.org/guix/guix/pulls/7338.

* gnu/packages/aux-files/python/pytest_guix.py: New file.
* Makefile.am: Record it.
* guix/build/pyproject-build-system.scm (check): Preload pytest_guix
plugin when available.
* guix/build-system/pyproject.scm (default-pytest-guix-plugin): New
package, generated from pytest_guix.py.
(lower): Add python-pytest-guix argument, and inject it if
python-pytest is in the native-inputs.

Change-Id: I13263b461e9962aad340347657b9c9685db63927
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:14:33 +01:00
Wilko Meyer d3cc038666 gnu: Add linux-libre 7.0.
* gnu/packages/linux.scm (linux-libre-7.0-version,
linux-libre-7.0-gnu-revision, deblob-scripts-7.0,
linux-libre-7.0-pristine-source, linux-libre-7.0-source,
linux-libre-headers-7.0, linux-libre-7.0): New variables.
* gnu/packages/aux-files/linux-libre/7.0-arm64.conf,
gnu/packages/aux-files/linux-libre/7.0-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add those.

Change-Id: Id0039a11c9ee29eafa6c29335a93003b3f77459e
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-04-30 15:35:15 -07:00
Nguyễn Gia Phong 05e669ac50 guix: Implement fossil-download.
* guix/fossil-download.scm: New file.
* guix/build/fossil.scm: New file.
* Makefile.am (MODULES): Add them.
* etc/teams.scm (core)[#:scope]: Add "guix/fossil-download.scm".
(vcs)[#:scope]: Add "guix/build/fossil.scm".
* CODEOWNERS: Regenerate file.
* doc/guix.texi (origin Reference): Document fossil-fetch
and fossil-reference.
* NEWS: Add entry about fossil-fetch.

Change-Id: Ia252bcbbb417159a842d5092a937e2aad55a1656
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-15 23:10:25 +02:00
Nicolas Graves 4c7a7a1d49 tests: keys: Moving to openpgp subdirectory.
* tests/keys/*.(pub|sec): Move to tests/keys/openpgp/*.(pub|sec)
* build-aux/test-env.in: Adapt accordingly.
* Makefile.am: Likewise.
* guix/tests/gnupg.scm: Likewise.
* tests/guix-authenticate.sh: Likewise.
* tests/openpgp.scm: Likewise.

Change-Id: If8897cec9851cc51a4ebadcc5927dc0e0520b881
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-04-10 14:55:04 +09:00
Ludovic Courtès 34ead56156 Add (guix amd-gpu).
Moving these definitions to a separate module is necessary to avoid circular
references at the top-level among package modules.

* gnu/packages/rocm.scm (%default-amd-gpu-targets, current-amd-gpu-targets)
(current-amd-gpu-targets-string): Move to…
* guix/amd-gpu.scm: … here.  New file.
* Makefile.am (MODULES): Add it.

Merges guix/guix!7251

Change-Id: I60496fb4d81ea0445ec176add7afc388f6790bd3
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-24 14:21:49 +01:00
Vagrant Cascadian 2126b510ce gnu: Remove linux-libre 5.4.
gnu/packages/linux.scm (linux-libre-5.4-version, linux-libre-5.4-gnu-revision,
deblob-scripts-5.4, linux-libre-5.4-pristine-source, linux-libre-5.4-source,
linux-libre-headers-5.4, linux-libre-5.4, linux-libre-headers-5.4,
linux-libre-arm-generic-5.4, linux-libre-arm64-generic-5.4): Remove variables.
* gnu/packages/patches/linux-libre-support-for-Pinebook-Pro.patch: Delete
file.
* gnu/local.mk [dist_patch_DATA]: Deregister patch.
* gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Delete files.
* Makefile.am [AUX_FILES]: Deregister them.
* gnu/packages/android.scm (adb)[native-inputs]: Use linux-libre-headers-5.15.
* gnu/packages/vpn.scm (wireguard-linux-compat): Remove variable.
* gnu/tests/base.scm (%test-linux-libre-5.4): Remove variable.
2026-03-05 14:59:55 -08:00
Wilko Meyer 279f22e978 gnu: Add linux-libre 6.19.
* gnu/packages/linux.scm (linux-libre-6.19-version,
linux-libre-6.19-gnu-revision, deblob-scripts-6.19,
linux-libre-6.19-pristine-source, linux-libre-6.19-source,
linux-libre-headers-6.19, linux-libre-6.19): New variables.
* gnu/packages/aux-files/linux-libre/6.19-i686.conf,
gnu/packages/aux-files/linux-libre/6.19-arm64.conf,
gnu/packages/aux-files/linux-libre/6.19-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add it.

Change-Id: I7df1a4438ad26d85ec34560779047fe626d7859e
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-02-22 16:58:24 -08:00
Nicolas Graves 93fcd0ed7c guix: Remove (guix build json) module.
This fixes guix/guix#4365.

Merges guix/guix!6609

* guix/build/json.scm: Delete file.
* Makefile.am: Unregister file.

Change-Id: Iea07523afc8fe6752cecee15892d349cba299476
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-02-22 19:59:53 +01:00
Andreas Enge 7911238d09 system: Remove asus-c201.tmp.
The file transitively depends on vboot-utils, which does not build
and which depends on python2. This effectively reverts commit
df2a96167f .

* gnu/system/examples/asus-c201.tmpl: Remove file.
* Makefile.am (EXAMPLES): Unregister file.

Change-Id: I90683a01fc53c0491a77670c850c7afe6026c878
2026-02-17 16:52:24 +01:00
Wilko Meyer 2d1b84c8a0 gnu: Remove linux-libre 6.17.
* gnu/packages/linux.scm (linux-libre-6.17-version,
linux-libre-6.17-gnu-revision, deblob-scripts-6.17,
linux-libre-6.17-pristine-source, linux-libre-6.17-source,
linux-libre-headers-6.17, linux-libre-6.17, linux-libre-arm64-mnt-reform-6.17,
reform-debian-packages-for-6.17):
Remove variables.
* gnu/packages/aux-files/linux-libre/6.17-arm64.conf,
gnu/packages/aux-files/linux-libre/6.17-i686.conf,
gnu/packages/aux-files/linux-libre/6.17-riscv.conf,
gnu/packages/aux-files/linux-libre/6.17-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-02-14 15:41:33 -08:00
Maxim Cournoyer bc4972662b make: Improve handling of git configuration.
Commit 427b8f960e introduced a regression that broke building Guix in an
isolated container.

* configure.ac ($(GIT_HOOKS_DIR), $(GIT_HOOKS_DIR)/%)
($(GIT_CONFIG_FILE), $(GIT_HOOKS_DIR)/commit-msg): Guard against the cases
where GIT_HOOKS_DIR or GIT_CONFIG_FILE variables are empty.

Fixes: <https://issues.guix.gnu.org/80388>.
Reported-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I68645f93d9e1088902f6e0d2c8f97fe969d741c0
2026-02-14 18:32:02 +09:00
Hartmut GoebelandMaxim Cournoyer 46793f96cd Makefile.am: Add git-config and git-hooks convenience targets.
* Makefile.am (git-config, git-hooks): New phony targets.

Change-Id: Ia241300194fbc1ea1d691e867b5dccd8e75077f4
Co-authored-by: Maxim Cournoyer <maxim@guixotic.coop>
2026-02-13 15:02:08 +09:00
Maxim Cournoyer 427b8f960e Makefile.am: Update hooks even when working from a git worktree.
Also simplify recipes by enclosing in the 'in_git_p' Automake conditional.

* Makefile.am (GIT_HOOKS_DIR, GIT_CONFIG_FILE): New variables.
(.git/hooks/, .git/hooks/%, .git/config, .git/hooks/commit-msg): Rewrite in
terms of the above.
(nodist_no_inst_DATA): Likewise.

Change-Id: I8fba6a1923bae5f54253ef6aa529bf68e01678ef
2026-02-13 15:01:42 +09:00
9fe57d112e gnu: Add linux-libre 6.18.
* gnu/packages/linux.scm (linux-libre-6.18-version,
linux-libre-6.18-gnu-revision, deblob-scripts-6.18,
linux-libre-6.18-pristine-source, linux-libre-6.18-source,
linux-libre-headers-6.18, linux-libre-6.18): New variables.
* gnu/packages/aux-files/linux-libre/6.18-i686.conf,
gnu/packages/aux-files/linux-libre/6.18-arm64.conf,
gnu/packages/aux-files/linux-libre/6.18-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add it.

Co-authored-by: Dariqq <dariqq@posteo.net>
Co-authored-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-01-29 13:30:06 -08:00
Ludovic Courtès 68f1f74fb8 Define remote procedure interface in (guix remote-procedures).
* guix/store.scm (define-enumerate-type, operation-id)
(hash-algo, build-mode, gc-action): Remove.
(operation, define-operation): Remove.
(client-stub, define-client-stubs): New macros.
(%client-stubs): New variable.
<top level>: Call ‘visit-remote-procedures’.
(define-top-level-client-procedures): New macro.
<top level>: Call ‘define-top-level-client-procedures’.
(valid-path?, query-path-hash, query-path-info, ensure-path)
(find-roots, add-temp-root, add-indirect-root)
(references, referrers, valid-derivers, query-derivation-outputs)
(has-substitutes, substitutable-paths, substitutable-path-info)
(optimize-store, import-paths, query-failed-paths)
(clear-failed-paths, hash-path->path): Remove.
(set-build-options): Rewrite in terms of ‘set-options’.
(add-data-to-store): Rewrite in terms of ‘add-data-to-store/direct’.
(add-to-store, add-file-tree-to-store): Use ‘remote-procedure-id’ instead of
‘operation-id’.
(build-things): Rewrite in terms of ‘build-things/direct’.
(%built-in-builders): Rewrite in terms of ‘built-in-builders/direct’.
(verify-store): Rewrite in terms of ‘verify-store/direct’.
(run-gc): Rewrite in terms of ‘run-gc/direct’.
(export-path): Rewrite in terms of ‘export-path/direct’.
(substitute-urls): Rewrite in terms of ’substitute-urls/direct’.
* guix/remote-procedures.scm: New file.
* Makefile.am (MODULES): Add it.

Change-Id: I78b3d47e34205e8f8b93a51b273f56edc46e3902
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-01-27 12:58:18 +01:00
Hartmut Goebel c5728c3ba0 import: Add 'apache' updater.
* guix/import/apache.scm: New file.
* Makefile.am: Add it.

Change-Id: I36c4b2ff4f466d64f6c7af010640a44a336799d5
2026-01-25 18:50:01 +01:00
Rutherther 7c0cd7e45b Merge branch 'version-1.5.0'
Change-Id: Id73c0c74600a3da3373b3a37236b505af65bfe31
2026-01-22 13:27:13 +01:00
Danny Milosavljevic 811ee1ab9f import: nuget: Add tests and documentation.
* guix/import/nuget.scm: Prevent optimizing small functions away completely.
* tests/import/nuget.scm: New file.
* doc/guix.texi (nuget): Document it.
* Makefile.am (SCM_TESTS): Add reference to it.

Fixes: guix/guix#5483
Change-Id: Id58932fe404a11a03e61a91d3b6177b39548f1bc
2026-01-19 19:21:52 +01:00
Rutherther 010af50497 maint: Add missing build-aux files to EXTRA_DIST.
* Makefile.am (EXTRA_DIST): Add missing build-aux files.

Change-Id: I4b186985029b963110feffc3463952b0521023fc
2026-01-18 18:00:22 +01:00
Rutherther d41f362114 maint: Register files for dist tarballs.
* Makefile.am: Register missing dist files.
* gnu/local.mk: Register all used patches.
*  gnu/packages/patches/emacs-gnus-desktop-notify-fix-notifications.patch:
Remove unregistered patch.
*  gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch: Remove
unregistered patch.
*  gnu/packages/patches/libjami-ac-config-files.patch: Remove unregistered
patch.
*  gnu/packages/patches/libjami-sdbus-cpp-v2.patch: Remove unregistered patch.

Fixes: #5691
Merges: #5709
Reported-By: Vagrant Cascadian <vagrant@debian.org>
Change-Id: Ifa05b163b3ad362c5a07efdfd2dac6af88bac18e
2026-01-18 11:14:18 +01:00
Rutherther 7c52959ae4 Make sure only Guix channel is used to produce release artifacts.
This ensures that only Guix channel is used, with the default url.

* Makefile.am (release): Add "-q" to time-machine.

Change-Id: I3102660919e946a7df4620318d11599cdbde7ad8
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-04 12:47:37 +01:00
Rutherther 2d4ed08662 etc: release: Switch to Guile declaration of artifacts.
This is a rewrite of the bash commands for generation of guix binary
tarballs and system images to Guile. I am expecting this will help us
significantly with getting the same derivations locally and from Cuirass,
instead of relying on images/tarball job specifications and trying to tweak
it locally to have the same ones.

Implements: #4347, #4348.

* etc/teams/release/artifacts-manifest.scm: Make a manifest with
release artifacts for all supported systems.
* etc/teams/release/artifacts.scm: Collect artifacts for
all supported systems into a union with proper names for
the release artifacts.
* Makefile.am (release): Use time-machine instead of pre-inst-env; Switch to
building new artifacts.scm

Change-Id: I71a6a27e6f315dd31b91c49e71dff2d09695c0dc
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-23 09:16:05 +01:00
Rutherther 86a6006f41 Split release Makefile target to two.
Due to recent changes, the commit has to be published
to create the artifacts. Because of that, split the
target to two.

* Makefile.am
(release): Move first steps to prepare-release
(prepare-release): New target; Beginning of release.

Change-Id: I325c6dc36f7298482de7797c1e01fdaa70ef80c5
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-22 23:00:43 +01:00
Noé Lopez 60782c20d4 etc: Add AppArmor profile for the guix command.
* etc/apparmor.d/guix: New file.
* Makefile.am (nodist_apparmor_profile_DATA): Add it.

Change-Id: I3d61238203d7663ce582717f8e4eac4c6f679928
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-22 22:48:58 +01:00
Noé Lopez 587fd2dad4 etc: Add AppArmor profile for the daemon.
* .gitignore: Add etc/apparmor.d/tunables/guix.
* Makefile.am (nodist_apparmor_profile_DATA)
(nodist_apparmor_profile_tunables_DATA): Define it.
* configure.ac: Generate etc/apparmor.d/tunables/guix. Add
--with-apparmor-profile-dir option.
* etc/apparmor.d/guix-daemon: New file.
* etc/apparmor.d/tunables/guix.in: New file.
* doc/guix.texi: Document AppArmor profiles.
* gnu/packages/package-management.scm (guix): Add future changes commented.

Change-Id: Iac7df9d642383cc46a2d450c3badef31199ab041
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-22 22:48:57 +01:00
Noé Lopez 21f0be1aa3 etc: manifests: Add important packages manifest for release.
For now, the packages are from the online form sent in
<https://lists.gnu.org/archive/html/guix-devel/2025-10/msg00091.html>.

Going forwards, more packages can be added manually or if there are more
answers to the form.

* etc/manifests/release-user-packages.scm: New file.
* Makefile.am: Add it.

Change-Id: I2d619ab9d307a6ea216310d1c86a1dc71feb1523
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-12-10 13:01:00 +01:00
Leo Famulari 14bb0192fd gnu: Remove linux-libre 6.16.
* gnu/packages/linux.scm (linux-libre-6.16-version,
linux-libre-6.16-gnu-revision, deblob-scripts-6.16,
linux-libre-6.16-pristine-source, linux-libre-6.16-source,
linux-libre-headers-6.16, linux-libre-6.16, linux-libre-arm64-mnt-reform-6.16):
Remove variables.
* gnu/packages/aux-files/linux-libre/6.16-arm.conf,
gnu/packages/aux-files/linux-libre/6.16-arm64.conf,
gnu/packages/aux-files/linux-libre/6.16-i686.conf,
gnu/packages/aux-files/linux-libre/6.16-riscv.conf,
gnu/packages/aux-files/linux-libre/6.16-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.

Change-Id: I20755e7f0622211879db0f6aa8f9d11cea0ba28c
2025-12-04 20:22:27 -05:00
Rutherther 48ca028511 manifests: Split release manifest to two.
As stated in the manifest, use two release manifests:
1. Minimal one
2. Full one with all the desktop services enabled.

* etc/manifests/release.scm: Move to etc/manifests/release-minimal.scm.
* etc/manifests/release-minimal.scm (%system-packages):
Add packages from default privileged-programs.
Add %base-firmware.
Add %base-packages.
Remove desktops.
Remove xorg modules.

* etc/teams.scm (release): Add new splitted manifests.
* Makefile.am
(EXTRA_DIST): Remove release manifest; Add manifests release-minimal and
release-desktop.
(assert-binaries-available): Use new splitted release manifest.
* etc/manifests/release-desktop.scm (%system-packages):
Add desktops.
Add xorg modules.
* CODEOWNERS: Regenerate file.

Change-Id: I40de8b5d0f9c8b630e8af7969d4c195dd9e2c3e2
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-11-23 10:52:25 +02:00
Lilah Tascheter 029c575fc1 guix: build-system: Add hare-build-system.
* guix/build-system/hare.scm: New file.
* guix/build/hare-build-system.scm: New file.
* Makefile.am (MODULES): Add above new files.

Change-Id: I5b760410f6cd2ede28b84e8d2db363ff968f16f6
Signed-off-by: jgart <jgart@dismail.de>
2025-10-31 13:38:02 -05:00
Maxim Cournoyer 3ae5c9f2a7 Revert "syscalls: Add mmap support."
This reverts commit e1994a0214.
2025-10-30 16:19:51 +09:00
Maxim Cournoyer 9d60fdf6a2 Revert "elf: Remove bundled Guile source."
This reverts commit 11cf5b2fe4.
2025-10-30 16:19:49 +09:00
Maxim Cournoyer 11cf5b2fe4 elf: Remove bundled Guile source.
This module has been included in Guile as (system vm elf) since around version
2.1.

* guix/elf.scm: Delete file.
* CODEOWNERS: De-register module.
* Makefile.am (MODULES): Likewise.
* etc/teams.scm (core): Likewise.
* gnu/build/linux-modules.scm: Adjust imports.
* gnu/packages/gnuzilla.scm (icecat-minimal) [modules]: Likewise.
* gnu/packages/librewolf.scm (librewolf): Likewise.
* gnu/packages/sequoia.scm (sequoia): Likewise.
* gnu/packages/tor-browsers.scm (make-torbrowser): Likewise.
* gnu/packages/version-control.scm (hg-commitsigs): Likewise.
* guix/build/debug-link.scm: Likewise.
* guix/build/gnu-build-system.scm: Likewise.
* guix/build/gremlin.scm: Likewise.
* guix/build/meson-build-system.scm: Likewise.
* guix/grafts.scm (graft-derivation/shallow): Likewise.
* guix/scripts/pack.scm (wrapped-package): Likewise.
* tests/debug-link.scm: ("elf-debuglink", "set-debuglink-crc"): Likewise.
* tests/gremlin.scm: Likewise.
* guix/build-system/gnu.scm (%default-gnu-imported-modules): Remove (guix elf).

Change-Id: I86ac4237fdd820a6b54dc0fe7a7d10403a290ef9
2025-10-30 16:13:03 +09:00
Maxim Cournoyer e1994a0214 syscalls: Add mmap support.
* guix/build/syscalls.scm (PROT_NONE, PROT_READ, PROT_WRITE, PROT_EXEC)
(PROT_SEM, MAP_SHARED, MAP_PRIVATE, MAP_FAILED)
(MS_ASYNC, MS_INVALIDATE, MS_SYNC)
(%mmap-guardian, %unmapped-bytevectors): New variables.
(unmapped-bytevector?, pump-mmap-guardian, %mmap, mmap, %munmap, munmap)
(%msync, msync): New procedures.
* guix/build/io.scm: New file.
* Makefile.am: Register it.
* tests/syscalls.scm (strace-output): New variable.
("mmap and munmap", "file->bytevector, reading", "file->bytevector, writing")
("manual munmap does not lead to double free"): New tests.

Change-Id: I19ec687899eda635559e91200dd8d98669b0e35f
2025-10-30 16:13:03 +09:00
Maxim Cournoyer 79dcb79e1f tests: New ld-wrapper test.
* tests/ld-wrapper.scm: New file.
* Makefile.am (SCM_TESTS): Register it.

Change-Id: I3cef5ff363226a3ceee2599d4906f107d6ae7151
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2025-10-29 11:51:24 +09:00
Leo FamulariandDariqq aeb2454a62 gnu: Add linux-libre 6.17.
* gnu/packages/linux.scm (linux-libre-6.17-version,
linux-libre-6.17-gnu-revision, deblob-scripts-6.17,
linux-libre-6.17-pristine-source, linux-libre-6.17-source,
linux-libre-headers-6.17): New variables.
(linux-libre-headers-latest): Use linux-libre-headers-6.17.
* gnu/packages/aux-files/linux-libre/6.17-arm64.conf,
gnu/packages/aux-files/linux-libre/6.17-i686.conf,
gnu/packages/aux-files/linux-libre/6.17-riscv.conf,
gnu/packages/aux-files/linux-libre/6.17-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.

Co-authored-by: Dariqq <dariqq@posteo.net>

Change-Id: I52d2bc9114a948d31726d2da2a5916fc607dcdd6
2025-10-28 20:01:06 -04:00
Nicolas Graves 41f478a900 guix: Fix guix-minimal tests.
* Makefile.am (SCM_TESTS): Add tests/machine/hetzner.scm and
tests/machine/hetzner/http.scm conditionally.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-12 22:22:00 +02:00
Alexey Abramov 925d10cc64 gnu: linux-libre-6.16: Add armhf-linux support.
* gnu/packages/aux-files/linux-libre/6.16-arm.conf: New file.
* gnu/packages/linux.scm (linux-libre-6.16): Add "armhf-linux" to
supported systems.
* Makefile.am (AUX_FILES): Add 6.16-arm.conf.

Change-Id: I2e4208bac0539c09d0f7ced1d5c978cef6534f06
2025-10-09 00:21:58 -04:00
Nicolas Graves 1dab0f01bb import: utils: Move tests to tests/import/utils.scm.
* tests/utils.scm: Move to tests/import/utils.scm.
* Makefile.am: Refresh it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-01 11:04:17 +02:00
Nicolas Graves 12e6d3b48f import: npm-binary: Move tests to tests/import/npm-binary.scm.
* tests/npm-binary.scm: Move to tests/import/npm-binary.scm.
* Makefile.am: Refresh it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-01 11:04:17 +02:00
Nicolas Graves a14df09097 import: composer: Move tests to tests/import/composer.scm.
* tests/composer.scm: Move to tests/import/composer.scm.
* Makefile.am: Refresh it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-01 11:04:17 +02:00
Nicolas Graves a34376aa71 import: texlive: Move tests to tests/import/texlive.scm.
* tests/texlive.scm: Move to tests/import/texlive.scm.
* Makefile.am: Refresh it.
* CODEOWNERS: Refresh it.
* etc/teams.scm: Refresh it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-01 11:04:16 +02:00
Nicolas Graves 0dba512d86 import: luanti: Move tests to tests/import/luanti.scm.
* tests/luanti.scm: Move to tests/import/luanti.scm.
* Makefile.am: Refresh it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-01 11:04:16 +02:00