summaryrefslogtreecommitdiff
path: root/guix
AgeCommit message (Expand)Author
2023-10-21Merge remote-tracking branch 'origin/rust-team'Efraim Flashner
2023-10-21build-system: Add zig-build-system.•••* guix/build-system/zig.scm: New file. * guix/build/zig-build-system.scm: New file. * Makefile.am: Add them. * doc/guix.texi: Document it. * etc/snippets/yas/scheme-mode/guix-package (build-system): Add zig-build-system. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Ekaitz Zarraga
2023-10-18Revert "build: cargo-build-system: Disable tests by default."•••This reverts commit 37667443074a6de29f7665868f102111d62f0af9. This change needs more discussion. Efraim Flashner
2023-10-18build: cargo-build-system: Find more pregenerated files.•••* guix/build/cargo-build-system.scm (check-for-pregenerated-files): Also search for MacOS dynamic libraries. Efraim Flashner
2023-10-18build: cargo-build-system: Disable tests by default.•••* guix/build-system/cargo.scm (cargo-build): Disable tests by default. * gnu/packages/admin.scm (greetd, wlgreet, du-dust), * gnu/packages/bioinformatics.scm (circtools, python-gseapy), * gnu/packages/crypto.scm (rust-minisign, b3sum), * gnu/packages/gnome.scm (librsvg), * gnu/packages/python-crypto.scm (python-blake3, python-cryptography-rust), * gnu/packages/python-xyz.scm (python-orjson), * gnu/packages/rust-apps.scm (agate, alfis, bat, diffr, drill, dutree, exa, fd, hexyl, hyperfine, i3status-rust, just, maturin, ripgrep, rot8, rust-swc, rust-cargo-edit, git-interactive-rebase-tool, rust-cbindgen, rust-cbindgen-0.24, rust-cbindgen-0.19, sniffglue, tectonic, treefmt, hex, tokei, vivid, watchexec, rbw, rust-analyzer, rust-cargo-c, rtss, skim, skim-0.7, svd2rust, swayhide, tealdeer, git-absorb, zoxide, htmlq), * gnu/packages/sequoia.scm (sequoia-sqv), * gnu/packages/syndication.scm (newsboat), * gnu/packages/terminals.scm (alacritty), * gnu/packages/text-editors.scm (kak-lsp, parinfer-rust), * gnu/packages/tree-sitter.scm (tree-sitter-cli), * gnu/packages/video.scm (rav1e), * gnu/packages/web.scm (monolith, castor) [arguments]: Enable tests. Efraim Flashner
2023-10-18build: cargo-build-system: Strip enough prefix in package.•••* guix/build/cargo-build-system.scm (package): When using the source as the packaged crate also strip the 'rust-' prefix. Efraim Flashner
2023-10-18build: cargo-build-system: Reset timestamps in crates.•••This fixes reproducibility in rust crates from the package phase, see <https://issues.guix.gnu.org/50015>. * guix/build/cargo-build-system.scm (package): After running 'cargo package' on the source unpack the tarball, reset the timestamps and repack it. Efraim Flashner
2023-10-18build: cargo-build-system: Check for pregenerated files.•••* guix/build/cargo-build-system.scm (check-for-pregenerated-files): New procedure. (%standard-phases): Add 'check-for-pregenerated-files phase between 'unpack and 'unpack-rust-crates. Efraim Flashner
2023-10-17guix: import: opam: Handle list of licenses.•••Fixes <https://issues.guix.gnu.org/issue/66461>. Reported by Simon Tournier <zimon.toutoune@gmail.com>. * guix/import/opam.scm (opam->guix-package): Handle lists of licenses. Signed-off-by: Simon Tournier <zimon.toutoune@gmail.com> Josselin Poiret
2023-10-17scripts: weather: Handle EPIPE errors when displaying help.•••* guix/scripts/weather.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: upgrade: Handle EPIPE errors when displaying help.•••* guix/scripts/upgrade.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: time-machine: Handle EPIPE errors when displaying help.•••* guix/scripts/time-machine.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: substitute: Handle EPIPE errors when displaying help.•••* guix/scripts/substitute.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: system: Handle EPIPE errors when displaying help.•••* guix/scripts/system.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: style: Handle EPIPE errors when displaying help.•••* guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: size: Handle EPIPE errors when displaying help.•••* guix/scripts/size.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: show: Handle EPIPE errors when displaying help.•••* guix/scripts/show.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: shell: Handle EPIPE errors when displaying help.•••* guix/scripts/shell.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: search: Handle EPIPE errors when displaying help.•••* guix/scripts/search.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: repl: Handle EPIPE errors when displaying help.•••* guix/scripts/repl.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: remove: Handle EPIPE errors when displaying help.•••* guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: refresh: Handle EPIPE errors when displaying help.•••* guix/scripts/refresh.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: pull: Handle EPIPE errors when displaying help.•••Reported by Mathieu Othacehe <othacehe@gnu.org>. * guix/scripts/pull.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: publish: Handle EPIPE errors when displaying help.•••* guix/scripts/publish.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: processes: Handle EPIPE errors when displaying help.•••* guix/scripts/processes.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: package: Handle EPIPE errors when displaying help.•••Reported by Mathieu Othacehe <othacehe@gnu.org>. * guix/scripts/package.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: pack: Handle EPIPE errors when displaying help.•••* guix/scripts/pack.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: offload: Handle EPIPE errors when displaying help.•••* guix/scripts/offload.scm (guix-offload): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: locate: Handle EPIPE errors when displaying help.•••* guix/scripts/locate.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: lint: Handle EPIPE errors when displaying help.•••* guix/scripts/lint.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: install: Handle EPIPE errors when displaying help.•••* guix/scripts/install.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: import: Handle EPIPE errors when displaying help.•••* guix/scripts/import.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: home: Handle EPIPE errors when displaying help.•••* guix/scripts/home.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: hash: Handle EPIPE errors when displaying help.•••* guix/scripts/hash.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: graph: Handle EPIPE errors when displaying help.•••* guix/scripts/graph.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: git: Handle EPIPE errors when displaying help.•••* guix/scripts/git.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: gc: Handle EPIPE errors when displaying help.•••* guix/scripts/gc.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: edit: Handle EPIPE errors when displaying help.•••* guix/scripts/edit.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: download: Handle EPIPE errors when displaying help.•••* guix/scripts/download.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: discover: Handle EPIPE errors when displaying help.•••* guix/scripts/discover.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: describe: Handle EPIPE errors when displaying help.•••* guix/scripts/describe.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: deploy: Handle EPIPE errors when displaying help.•••* guix/scripts/deploy.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: copy: Handle EPIPE errors when displaying help.•••* guix/scripts/copy.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: container: Handle EPIPE errors when displaying help.•••* guix/scripts/container.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: challenge: Handle EPIPE errors when displaying help.•••* guix/scripts/challenge.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: build: Handle EPIPE errors when displaying help.•••* guix/scripts/build.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17scripts: archive: Handle EPIPE errors when displaying help.•••* guix/scripts/archive.scm (%options): Handle EPIPE errors when displaying help. Simon Tournier
2023-10-17ui: Handle EPIPE errors when displaying Guix version.•••Fixes <https://issues.guix.gnu.org/66254>. Reported by Clément Lassieur <clement@lassieur.org>. * guix/ui.scm (show-version-and-exit): Handle EPIPE errors when displaying version. Simon Tournier
2023-10-16pack: Allow setting a custom image tag for Docker images•••Previously, the image repository name was automatically computed from the packages in the manifest without allowing the user to set a custom one. As such, changing the packages in the manifest would result in a new image name. Thereby requiring updating documentation et cetera when using `docker load` directory on the resulting image. Inspired by `docker build -t`, this commit adds a new Docker-specific option to `guix pack` which allows setting a custom repository name for the resulting image. If this option is not specified, pack falls back to computing the name from the manifest. Therefore, this change is entirely backwards compatible. Documentation has been added with: 373ec2cf8ce97d5f89191c3d9211ee3a5c2067dc. * guix/scripts/pack.scm (guix-pack): Add --image-tag option. (%docker-format-options): New constant. (show-docker-format-options): New procedure. (show-docker-format-options/detailed): New procedure. (docker-image): Allow setting a custom repository name for the created docker image via extra-options. Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Sören Tempel
2023-10-18locate: Do not return the system database when it is too old.•••Fixes a bug whereby ‘guix locate’ would pick the system database, then decide it’s too old, try to update it, and fail because it’s not writable by unprivileged users. Fixes <https://issues.guix.gnu.org/66612>. * guix/scripts/locate.scm (file-age): New procedure. (suitable-database): Add ‘age-update-threshold’ parameter and honor it. (guix-locate): Remove ‘file-age’. Pass ‘age-update-threshold’ to the ‘database’ option. Reported-by: Matt Wette <matt.wette@gmail.com> Ludovic Courtès