~ruther/guix-local

ref: cuirass-guix guix-local/guix d---------
ci: Use (guix channels) to build guix specification.

This allows for the same guix being built as the one built by guix pull.
Full profile is built with all the channels specified in the specification.

* gnu/ci.scm
(guix-jobs): Use instances instead of channel with checkout url.
(cuirass-jobs): Recompute channel-instance for each channel.
* guix/channels.scm: Export channel-instance.

Closes: guix/cuirass#115
Change-Id: Ib003d22bdabe9751c92cb716483ca1138f809494
7c0cd7e4 — Rutherther a month ago
Merge branch 'version-1.5.0'

Change-Id: Id73c0c74600a3da3373b3a37236b505af65bfe31
71e1787a — Danny Milosavljevic a month ago
import: nuget: Fix bug in version spec parsing.

* guix/import/nuget.scm (parse-nuget-range->primitives): Modify.

Change-Id: I38d45596f22aee9075aa60d714240aee0de4a24e
811ee1ab — Danny Milosavljevic a month ago
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
1fc556b6 — Sergey Trofimov a month ago
import: elpa: Fix repo url for melpa git recipes.

* guix/import/elpa.scm (melpa-recipe->origin): Take repo location from
:url for `git' :fetcher.

Merges guix/guix!5631

Change-Id: I6a3a8cef52eda2e5c731b8ff7f38f17dc920e167
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
import: crate: Generate comments with ‘TODO REVIEW:’ prefix.

This distinguishes them from manually added ones.  When committing changes,
these ‘TODO REVIEW’ comments should be addressed and removed first.

If you're working with Rust packaging, please update your local Guix to this
commit to apply the change.

* guix/import/crate.scm (cargo-lock->expressions): Generate comments with
‘TODO REVIEW:’ prefix.
* tests/import/crate.scm ("crate-lockfile-import"): Don't check the exact
comment string.
* doc/guix-cookbook.texi (Common Workflow for Rust Packaging),
* gnu/packages/rust-crates.scm: Adjust accordingly.

Change-Id: I76b914b49be46d04cc61b101b6bc9e31cadb7f07
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4567
01b97dff — Hilton Chain 2 months ago master
import: crate: Generate comments with ‘TODO REVIEW:’ prefix.

This distinguishes them from manually added ones.  When committing changes,
these ‘TODO REVIEW’ comments should be addressed and removed first.

If you're working with Rust packaging, please update your local Guix to this
commit to apply the change.

* guix/import/crate.scm (cargo-lock->expressions): Generate comments with
‘TODO REVIEW:’ prefix.
* tests/import/crate.scm ("crate-lockfile-import"): Don't check the exact
comment string.
* doc/guix-cookbook.texi (Common Workflow for Rust Packaging),
* gnu/packages/rust-crates.scm: Adjust accordingly.

Change-Id: I76b914b49be46d04cc61b101b6bc9e31cadb7f07
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4567
82e58c26 — Efraim Flashner a month ago
guix: Spelling corrections.

* guix/gnupg.scm,
guix/import/composer.scm,
guix/import/cpan.scm,
guix/import/crate/cargo-lock.scm,
guix/import/hackage.scm,
guix/import/json.scm,
guix/licenses.scm,
guix/packages.scm,
guix/scripts/import.scm,
guix/ui.scm: Fix misspellings in comments and doc strings.

Change-Id: I8e922f8e980214e345a42a995788a7c4adb9184d
725a138d — Maxim Cournoyer a month ago
git: Guard against git submodules lacking a path.

* guix/git.scm (update-submodules) <directory>: Remove extraneous "/" in file
name.  Only recurse when the directory exists.

Fixes: #5579
Change-Id: Ica5e5de196bd1a3d5a0a41c34162c68c0855298d
e59fd9fa — Dariqq 3 months ago
build-system: meson: Add kernel field to machine-alist.

* guix/build-system/meson.scm (make-machine-alist): Add kernel value.

Change-Id: I29b67d2ed28b693db524c798786c39e705619897
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
096ec269 — Dariqq 3 months ago
build-system: meson: Properly name cross files.

* guix/build-system/meson.scm (make-cross-file): Add triplet and file
extension to the cross file.

Change-Id: Ie8ba187687670ec483cf4555a832590ec3ee8809
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
f2673514 — Dariqq 3 months ago
build-system: meson: Change pkgconfig to pkg-config.

Meson is warning that the pkgconfig entry is deprecated.
DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config".

* guix/build-system/meson.scm (make-binaries-alist): Replace deprecated 'pkgconfig with 'pkg-config.

Change-Id: Ic7f2ce5503661ad163c4cfe9cd307ff6175134ff
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
d4666145 — Dariqq 3 months ago
build-system: meson: Add windres compiler for mingw.

* guix/build-system/meson.scm (make-binaries-alist): Add windres when
compiling for mingw.

Change-Id: I7f1f34cd5129918f4aba0baf1d2742e0bfbbb751
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
47cdef93 — Sergey Trofimov a month ago
import: elpa: Fix glob->regexp conversion.

* guix/import/elpa.scm (melpa-recipe->maybe-arguments)[glob->regexp]:
Treat '*' as zero or more characters.

Merges guix/guix!5408

Change-Id: I1630d17c7693a30110551e91405e1580d1e8a477
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
d7ad785c — Attila Lendvai a month ago
ssh: Add 'none' to compression for dropbear compatibility.

Without this change `guix deploy` fails the following way when connecting to a
dropbear ssh server:

guix deploy: error: failed to deploy example: SSH connection to 'example.com'
port 22 failed: kex error : no match for method compression algo
client->server: server [none], client [zlib@openssh.com,zlib]

Fixes guix/guix#5479.

* guix/ssh.scm (%compression): Add 'none' as a possible compression.

Change-Id: I4c6214035d79a4dd9a77dc1563d9614b9604a7e0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5480
92ffbdd3 — Ludovic Courtès a month ago
ui: It’s 2026 now!

* guix/ui.scm (show-version-and-exit): Change year to 2026.

Change-Id: I7895df5c279569e1c87104dfc0dc6a1c51c553c9
e3f856a4 — Efraim Flashner a month ago
guix: lint: Check if minimal packages should be native-inputs.

* guix/lint.scm (check-inputs-should-be-native): Add minimal variants of
packages.

Change-Id: I8a05a5390092d776cb30c424b11645e650636ec0
c98323de — Efraim Flashner a month ago
guix: lint: Add another package to the minimal variant list.

* guix/lint.scm (check-inputs-should-use-a-minimal-variant): Add po4a.

Change-Id: Ibba2cfe0067690bd1c4c6768af4b6e1924758792
35fee4fd — Efraim Flashner a month ago
build-system: cargo: Use the correct guile-json when cross-compiling.

* guix/build-system/cargo.scm (cargo-cross-build): Use the defined
cargo-guile-json as the guile-json implementation.

Reported-by: Christopher Baines <mail@cbaines.net>
Change-Id: I270024c07eb8fff452b7671d7d45fbe37300f54d
9f472696 — Rutherther a month ago
scripts: package: Encourage unsetting GUIX_PROFILE.

GUIX_PROFILE should typically be unset, to prevent issues when sourcing
etc/profile of other profiles. So encourage it by showing it in the hint.

Followup of 50a2d73eac1577e35b526d3fc91423b97e581aef.

* guix/scripts/package.scm (display-search-path-hint): Add unset GUIX_PROFILE
to displayed hint.

Change-Id: Ie1564750017dde8bf896c79e463067699df709eb
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5118
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Next