aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* build: Add 'docker-image.tmpl' to the distribution.Ludovic Courtès2019-05-18
| | | | | | | Fixes <https://bugs.gnu.org/35774>. Reported by Ting-Wei Lan <lantw44@gmail.com>. * Makefile.am (EXAMPLES): Add docker-image.tmpl.
* gnu: linux-libre: Update to 5.1.Mark H Weaver2019-05-10
| | | | | | | | | | | | | | | | | | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 5.1. (%linux-libre-hash): Update hash. (%linux-libre-5.0-patches): Rename to ... (%linux-libre-5.1-patches): ... this. (linux-libre, linux-libre-arm-generic, linux-libre-arm-veyron) (linux-libre-arm-omap2plus): Use %linux-libre-5.1-patches. (vhba-module): Move definition below the kernel packages. * gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf, gnu/packages/aux-files/linux-libre/5.0-arm.conf, gnu/packages/aux-files/linux-libre/5.0-arm64.conf, gnu/packages/aux-files/linux-libre/5.0-i686.conf, gnu/packages/aux-files/linux-libre/5.0-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/5.1-arm-veyron.conf, gnu/packages/aux-files/linux-libre/5.1-arm.conf, gnu/packages/aux-files/linux-libre/5.1-arm64.conf, gnu/packages/aux-files/linux-libre/5.1-i686.conf, gnu/packages/aux-files/linux-libre/5.1-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly.
* Add (guix bzr-download).Maxim Cournoyer2019-05-09
| | | | | | | * guix/bzr-download.scm, guix/build/bzr.scm, etc/snippets/scheme-mode/guix-bzr-reference: New files. * Makefile.am (MODULES): Add them. * etc/snippets/scheme-mode/guix-origin: Add "bzr-fetch" to the origin choices.
* Add (guix lzlib).Pierre Neidhardt2019-05-06
| | | | | | | | | | | | | * guix/lzlib.scm, tests/lzlib.scm: New files. * Makefile.am (MODULES): Add guix/lzlib.scm. (SCM_TESTS): Add tests/lzlib.scm. * m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro. * configure.ac (LIBLZ_LIBDIR): Use it. Define and substitute 'LIBLZ'. * guix/config.scm.in (%liblz): New variable. * guix/self.scm (make-config.scm): Add TODO comment. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* build: Change default substitute server to "ci.guix.gnu.org".Ludovic Courtès2019-05-01
| | | | | | | | | | | * config-daemon.ac: Replace "ci.guix.info" with "ci.guix.gnu.org". * doc/guix.texi (SUBSTITUTE-SERVER): Likewise. * etc/substitutes/ci.guix.gnu.org.pub: New file. * Makefile.am (dist_pkgdata_DATA): Add it. * guix/scripts/build.scm (%default-log-urls): Update. * guix/scripts/substitute.scm (%default-substitute-urls): Likewise. * guix/store.scm (%default-substitute-urls): Likewise. * guix/self.scm (miscellaneous-files): Add "ci.guix.gnu.org".
* Revert "maint: 'release' clears gettext-induced changes in doc/."Ludovic Courtès2019-04-30
| | | | | | | This reverts commit 24963c13075b07db0c4e6005df9cde3bb51b2e32. This change had become unnecessary since 9ca5ff882e2ac4eaab02eb0fde545bd784af478b.
* build: 'assert-no-store-file-names' no longer depends on ChangeLog.Ludovic Courtès2019-04-30
| | | | | | | | | | | This reverts commit dfd248648f59af374bf2c74403f0e561464f6afe, which effectively disabled 'ChangeLog' generation. * Makefile.am (dist-hook): Depend on 'gen-ChangeLog', not '$(distdir)/ChangeLog'. (gen-ChangeLog): Remove dependency. Use "ChangeLog.tmp" as the temporary file name. (assert-no-store-file-names): Remove dependency. Exclude ChangeLog*.
* guix package: Add 'guix search' alias.Ludovic Courtès2019-04-29
| | | | | | | | | * guix/scripts/search.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it. * tests/guix-package-aliases.sh: Add test. * doc/guix.texi (Invoking guix package): Document it and use it in a couple of examples.
* guix package: Add 'install', 'remove', and 'upgrade' aliases.Ludovic Courtès2019-04-29
| | | | | | | | | | | | | | | | * guix/scripts/install.scm, guix/scripts/remove.scm, guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files. * Makefile.am (MODULES, SH_TESTS): Add them. * po/guix/POTFILES.in: Add them. * guix/scripts/package.scm (guix-package): Split with... (guix-package*): ... this. New procedure. * doc/guix.texi (Invoking guix package): Document them. (Binary Installation, Application Setup, Package Management) (Packages with Multiple Outputs, Package Modules) (X.509 Certificates, Installing Debugging Files): Use 'guix install' in simple examples. * etc/completion/bash/guix (_guix_complete): Handle "install", "remove", and "upgrade".
* self: Rebuild translated manuals.Julien Lepiller2019-04-27
| | | | | | | * guix/self.scm (info-manual): Run po4a and related commands to generate translated texi files before building translated manuals. * guix/build/po.scm: New file. * Makefile.am (MODULES_NOT_COMPILED): Add it.
* maint: Pass '--image-size=30G' to 'guix system vm-image'.Ludovic Courtès2019-04-27
| | | | | * Makefile.am (GUIX_SYSTEM_VM_IMAGE_FLAGS): New variable. (release): Use it.
* maint: Build all the 'guix' packages in parallel.Ludovic Courtès2019-04-19
| | | | | | | | | | | Until now, the 'guix' package shipped in binary tarballs and system images would be built sequentially for each system type, one at a time. Now all of them can potentially be built in parallel. * Makefile.am (system_flags): New function. (release): Run "guix build guix" before "make binary-tarballs" and before "guix system disk-image" to build all the 'guix' packages in parallel.
* maint: 'release' clears gettext-induced changes in doc/.Ludovic Courtès2019-04-19
| | | | * Makefile.am (release): Run "git checkout ." in doc/
* Add (guix build-system linux-module).Danny Milosavljevic2019-04-11
| | | | | | | * guix/build/linux-module-build-system.scm: New file. * guix/build-system/linux-module.scm: New file. * doc/guix.texi (Build Systems): Document it. * Makefile.am (MODULES): Add them.
* Add (guix store roots).Ludovic Courtès2019-04-10
| | | | | | * guix/store/roots.scm, tests/store-roots.scm: New files. * Makefile.am (STORE_MODULES): Add guix/store/roots.scm. (SCM_TESTS): Add tests/store-roots.scm.
* Add (guix colors).Ludovic Courtès2019-04-10
| | | | | | | * guix/colors.scm: New file. * Makefile.am (MODULES): Add it. * guix/ui.scm (color-table, color, colorize-string): Remove. * guix/status.scm (isatty?*, color-output? color-rules): Remove.
* gnu: Add example system configuration for asus-c201.Timothy Sample2019-04-03
| | | | | | | * gnu/system/examples/asus-c201.tmpl: New file. * Makefile.am (EXAMPLES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add linux-libre-arm-veyron.Vagrant Cascadian2019-04-03
| | | | | | | | | * gnu/packages/linux (linux-libre-arm-veyron): New variable. (kernel-config-veyron): function to find veyron config. * gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf: New file. * Makefile.am (AUX_FILES): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* build: Add rakudo-build-system.Efraim Flashner2019-03-23
| | | | | | | * guix/build-system/rakudo.scm, guix/build/rakudo-build-system.scm: New files. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build System): Document it.
* import: Add Launchpad updater.Arun Isaac2019-03-18
| | | | | | * guix/import/launchpad.scm: New file. * Makefile.am (MODULES): Register it. * doc/guix.texi (Invoking guix refresh): Mention the Launchpad updater.
* Correct name and email address for ng0.ng02019-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Correct name and email address for ng0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* maint: Change Guix System file names from guixsd-*.Ludovic Courtès2019-03-13
| | | | | | | | | | | | | | | | * Makefile.am (GUIXSD_SUPPORTED_SYSTEMS): Rename to... (GUIX_SYSTEM_SUPPORTED_SYSTEMS): ... this. (GUIXSD_VM_SYSTEMS): Rename to... (GUIX_SYSTEM_VM_SYSTEMS): ... this. (GUIXSD_IMAGE_BASE): Rename to... (GUIX_SYSTEM_IMAGE_BASE): ... this. Change "guixsd-" to "guix-system-". (GUIXSD_VM_IMAGE_BASE): Rename to... (GUIX_SYSTEM_VM_IMAGE_BASE): ... this. Change "guixsd-" to "guix-system-". (release): Adjust accordingly. * doc/guix.texi (USB Stick and DVD Installation) (Installing Guix in a VM, Invoking guix system) (Running Guix in a VM): Adjust file names accordingly.
* Add (gnu build accounts).Ludovic Courtès2019-03-07
| | | | | | * gnu/build/accounts.scm, tests/accounts.scm: New files. * Makefile.am (SCM_TESTS): Add tests/accounts.scm. * gnu/local.mk (GNU_SYSTEM_MODULES): Add build/accounts.scm.
* gnu: linux-libre: Update to 5.0.Mark H Weaver2019-03-06
| | | | | | | | | | | | | | | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 5.0. (%linux-libre-hash): Update hash. (%linux-libre-4.20-patches): Rename to ... (%linux-libre-5.0-patches): ... this. (linux-libre, linux-libre-arm-generic, linux-libre-arm-omap2plus): Use %linux-libre-5.0-patches instead of %linux-libre-4.20-patches. * gnu/packages/aux-files/linux-libre/4.20-arm.conf, gnu/packages/aux-files/linux-libre/4.20-arm64.conf, gnu/packages/aux-files/linux-libre/4.20-i686.conf, gnu/packages/aux-files/linux-libre/4.20-x86_64.conf: Delete files. * gnu/packages/aux-files/linux-libre/5.0-arm.conf, gnu/packages/aux-files/linux-libre/5.0-arm64.conf, gnu/packages/aux-files/linux-libre/5.0-i686.conf, gnu/packages/aux-files/linux-libre/5.0-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly.
* gnu: rust: Factor out "cargo-utils" from "cargo-build-system".Ivan Petkov2019-03-01
| | | | | | | | | | | | | | | | | | * guix/build/cargo-utils.scm: New file. * Makefile.am (MODULES): Add it. * guix/build-system/cargo.scm (%cargo-utils-modules): New variable. (%cargo-build-system-modules): Use it. * guix/build/cargo-build-system.scm (file-sha256, generate-checksums): Move from here... * guix/build/cargo-utils.scm: ...to here. * gnu/packages/rust.scm (rust-1.19.0)[arguments]<#:imported-modules>: Use %cargo-utils-modules. <#:phases>[patch-cargo-checksums]: Use (guix build cargo-utils). * gnu/packages/gnuzilla.scm (icecat): [arguments]<#:imported-modules>: Use %cargo-utils-modules. <#phases>[patch-cargo-checksums]: import (guix build cargo-utils). Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* Add missing aux-file in Makefile.Jonathan Brielmaier2019-02-21
| | | | | | | | | | | Fixes installation of ungoogled-chromium on foreign distros. This is a followup to commit f1e9de4d3aefae420db633a56ba9cd93f7750df3. * Makefile.am (AUX_FILES): Add missing gnu/packages/aux-files/chromium/master-preferences.json entry. Signed-off-by: Leo Famulari <leo@famulari.name>
* build: clean-go: Do not warn about *.go files in "test-tmp".Eric Bavier2019-02-07
| | | | * Makefile.am (clean-go): Ignore "test-tmp" directory.
* Add (guix deprecation).Ludovic Courtès2019-01-10
| | | | | | * guix/deprecation.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it.
* Remove (guix build pull).Ludovic Courtès2019-01-07
| | | | | | | | This module had been unused since commit 5f93d97005897c2d859f0be1bdff34c88467ec61 (Oct. 2017). * guix/build/pull.scm: Delete. * Makefile.am (MODULES): Remove.
* gnu: linux-libre: Update to 4.20, while retaining 4.19 LTS.Mark H Weaver2019-01-01
| | | | | | | | | | | | | | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 4.20. (%linux-libre-hash): Update hash. (%linux-libre-4.20-patches): New variable. (linux-libre): Use %linux-libre-4.20-patches. (%linux-libre-4.19-version, %linux-libre-4.19-hash) (%linux-libre-4.19-patches, linux-libre-4.19): New variables. (linux-libre-arm-generic, linux-libre-arm-omap2plus): Use %linux-libre-4.20-patches. (linux-libre-arm-generic-4.19, linux-libre-arm-omap2plus-4.19): New variables. * gnu/packages/aux-files/linux-libre/4.20-arm.conf, gnu/packages/aux-files/linux-libre/4.20-arm64.conf, gnu/packages/aux-files/linux-libre/4.20-i686.conf, gnu/packages/aux-files/linux-libre/4.20-x86_64.conf: New files. * Makefile.am (AUX_FILES): Add them.
* build: Add dune-build-system.Julien Lepiller2018-12-18
| | | | | | | | | | | * guix/build/dune-build-system.scm, guix/build-system/dune.scm: New files. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document dune-build-system. * guix/build-system/ocaml.scm (lower, default-findlib, default-ocaml): Export them. (package-with-explicit-ocaml): Also transform packages built with dune-build-system.
* guix: Add support for channel dependencies.Ricardo Wurmus2018-12-09
| | | | | | | | | | | | * guix/channels.scm (<channel-metadata>): New record. (read-channel-metadata, channel-instance-dependencies): New procedures. (latest-channel-instances): Include channel dependencies; add optional argument PREVIOUS-CHANNELS. (channel-instance-derivations): Build derivation for additional channels and add it as dependency to the channel instance derivation. * doc/guix.texi (Channels): Add subsection "Declaring Channel Dependencies". * tests/channels.scm: New file. * Makefile.am (SCM_TESTS): Add it.
* Remove most references to hydra.gnu.org.Ludovic Courtès2018-12-04
| | | | | | | | | | | | | | | * Makefile.am (assert-binaries-available): Don't mention hydra.gnu.org in comment. * build-aux/check-available-binaries.scm: Likewise. * build-aux/check-final-inputs-self-contained.scm: Likewise. * doc/guix.texi (SUBSTITUTE-SERVER): New variable. Use it throughout instead of "mirror.hydra.gnu.org". * doc/contributing.texi (Submitting Patches): Likewise. * gnu/services/base.scm (hydra-key-authorization) (guix-activation): Remove mentions of "hydra.gnu.org" in comments and messages. * gnu/system/install.scm (%installation-services): Likewise. * guix/scripts/size.scm (guix-size): Likewise.
* etc: Add "ci.guix.info.pub" public key file.Ludovic Courtès2018-12-04
| | | | | | | * etc/substitutes/ci.guix.info.pub: New file. * Makefile.am (dist_pkgdata_DATA): Add it. * guix/self.scm (miscellaneous-files): Add "share/guix/ci.guix.info.pub".
* Make Guile-JSON a required dependency.Eric Bavier2018-12-02
| | | | | | | | | | | * README (Requirements): Remove "optional" verbiage. * doc/guix.texi (Requirements): Move Guile-JSON from optional to required. * configure.ac (HAVE_GUILE_JSON): Remove Automake conditional. (have_guile_json): Error if not "yes". * Makefile.am (MODULE, SCM_TESTS)[HAVE_GUILE_JSON]: Add modules and tests unconditionally. * gnu/packages/package-mangement.scm (guix-minimal)[propagated-inputs]: Leave guile-json input.
* guix build: Add '--with-branch' transformation option.Ludovic Courtès2018-11-30
| | | | | | | | | | * guix/scripts/build.scm (evaluate-git-replacement-specs) (transform-package-source-branch): New procedures. (%transformations, %transformation-options): Add 'with-branch'. (show-transformation-options-help): Likewise. * tests/guix-build-branch.sh: New file. * Makefile.am (SH_TESTS): Add it. * doc/guix.texi (Package Transformation Options): Document it.
* nls: Update documentation po and pot with `make dist`.Julien Lepiller2018-11-28
| | | | | * Makefile.am: dist-hook depends on doc-po-update. * po/doc/local.mk (doc-po-update): New target.
* Add (guix swh).Ludovic Courtès2018-11-26
| | | | | * guix/swh.scm: New file. * Makefile.am (MODULES): Add it.
* build: Binary tarball now populates the "current-guix" profile.Ludovic Courtès2018-11-23
| | | | | | | | | | | | * Makefile.am (guix-binary.%.tar.xz): Pass '--profile-name=current-guix'. Remove glibc and glibc-utf8-locales. * doc/guix.texi (Binary Installation): Update accordingly. * etc/guix-install.sh * etc/guix-install.sh (sys_create_store, sys_enable_guix_daemon) (sys_authorize_build_farms): Likewise. * etc/guix-publish.conf.in, etc/guix-publish.service.in, etc/guix-daemon.conf.in, etc/guix-daemon.service.in: Update file names accordingly.
* pack: Add '--profile-name'.Ludovic Courtès2018-11-23
| | | | | | | | | | | | * guix/scripts/pack.scm (self-contained-tarball): Add #:profile-name and honor it. (squashfs-image, docker-image): Add #:profile-name. (%default-options): Add 'profile-name'. (%options, show-help): Add "--profile-name". (guix-pack): Honor it. * tests/guix-pack-localstatedir.sh: New file. * Makefile.am (SH_TESTS): Add it. * doc/guix.texi (Invoking guix pack): Document "--profile-name".
* build: Add missing Clojure modules to the distribution.Ludovic Courtès2018-11-21
| | | | | * Makefile.am (MODULES): Add guix/build-system/clojure.scm and guix/build/clojure-build-system.scm
* guix: Add clojure-utils.Alex Vong2018-11-19
| | | | | | * guix/build/clojure-utils.scm: New file. * gnu/packages/lisp.scm (clojure)[arguments]: Use it. * Makefile.am (MODULES): Add it.
* pack: Add test for '--relocatable'.Ludovic Courtès2018-11-06
| | | | | * tests/guix-pack-relocatable.sh: New file. * Makefile.am (SH_TESTS): Add it.
* maint: Move substitute public keys to etc/substitutes.Ludovic Courtès2018-11-06
| | | | | | * berlin.guixsd.org.pub, hydra.gnu.org.pub: Move to... * etc/substitutes: ... here. New directory. * Makefile.am (dist_pkgdata_DATA): Adjust accordingly.
* Add 'guix processes'.Ludovic Courtès2018-10-29
| | | | | | | | | * guix/scripts/processes.scm, tests/processes.scm: New files. * Makefile.am (MODULES): Add the former. (SCM_TESTS): Add the latter. * po/guix/POTFILES.in: Add guix/scripts/processes.scm. * doc/guix.texi (Invoking guix processes): New node. (Invoking guix-daemon): Reference it.
* gnu: linux-libre: Update to 4.19.Mark H Weaver2018-10-23
| | | | | | | | | | | | | | | | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 4.19. (%linux-libre-hash): Update hash. (%linux-libre-4.18-patches): Rename to ... (%linux-libre-4.19-patches): ... this, and remove a patch that is no longer needed. (linux-libre, linux-libre-arm-generic, linux-libre-arm-omap2plus): Use %linux-libre-4.19-patches instead of %linux-libre-4.18-patches. * gnu/packages/aux-files/linux-libre/4.18-arm.conf, gnu/packages/aux-files/linux-libre/4.18-arm64.conf, gnu/packages/aux-files/linux-libre/4.18-i686.conf, gnu/packages/aux-files/linux-libre/4.18-x86_64.conf: Remove files. * gnu/packages/aux-files/linux-libre/4.19-arm.conf, gnu/packages/aux-files/linux-libre/4.19-arm64.conf, gnu/packages/aux-files/linux-libre/4.19-i686.conf, gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: New files. * Makefile.am (AUX_FILES): Adjust accordingly.
* Add (guix status) and use it for pretty colored output.Ludovic Courtès2018-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/progress.scm (progress-reporter/trace): New procedure. (%progress-interval): New variable. (progress-reporter/file): Use it. * guix/scripts/build.scm (set-build-options-from-command-line): Pass #:print-extended-build-trace?. (%default-options): Add 'print-extended-build-trace?'. (guix-build): Parameterize CURRENT-TERMINAL-COLUMNS. Use 'build-status-updater'. * guix/scripts/environment.scm (%default-options): Add 'print-extended-build-trace?'. (guix-environment): Wrap body in 'with-status-report'. * guix/scripts/pack.scm (%default-options): Add 'print-build-trace?' and 'print-extended-build-trace?'. (guix-pack): Wrap body in 'with-status-report'. * guix/scripts/package.scm (%default-options, guix-package): Likewise. * guix/scripts/system.scm (%default-options, guix-system): Likewise. * guix/scripts/pull.scm (%default-options, guix-pull): Likewise. * guix/scripts/substitute.scm (progress-report-port): Don't call STOP when TOTAL is zero. (process-substitution): Add #:print-build-trace? and honor it. (guix-substitute)[print-build-trace?]: New variable. Pass #:print-build-trace? to 'process-substitution'. * guix/status.scm: New file. * guix/store.scm (set-build-options): Add #:print-extended-build-trace?; pass it into PAIRS. (%protocol-version): Bump. (protocol-version, nix-server-version): New procedures. (current-store-protocol-version): New variable. (with-store, build-things): Parameterize it. * guix/ui.scm (build-output-port): Remove. (colorize-string): Export. * po/guix/POTFILES.in: Add guix/status.scm. * tests/status.scm: New file. * Makefile.am (SCM_TESTS): Add it. * nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x162. * nix/libstore/build.cc (DerivationGoal::registerOutputs) (SubstitutionGoal::finished): Print a "@ hash-mismatch" trace before throwing.
* Add 'guix describe'.Ludovic Courtès2018-09-07
| | | | | | | | | | | | | | * guix/scripts/describe.scm: New file. * Makefile.am (MODULES): Add it. (SH_TESTS): Add tests/guix-describe.sh. * po/guix/POTFILES.in: Add it. * guix/scripts/pull.scm (display-profile-content): Export. * guix/describe.scm (current-profile, current-profile-entries): Export. * tests/guix-describe.sh: New file. * doc/guix.texi (Features): Mention 'guix pull' and provenance tracking. (Invoking guix pull): Link to 'guix describe'. (Channels): Likewise. (Invoking guix describe): New node.
* Switch to Guile-Gcrypt.Ludovic Courtès2018-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes (guix hash) and (guix pk-crypto), which now live as part of Guile-Gcrypt (version 0.1.0.) * guix/gcrypt.scm, guix/hash.scm, guix/pk-crypto.scm, tests/hash.scm, tests/pk-crypto.scm: Remove. * configure.ac: Test for Guile-Gcrypt. Remove LIBGCRYPT and LIBGCRYPT_LIBDIR assignments. * m4/guix.m4 (GUIX_ASSERT_LIBGCRYPT_USABLE): Remove. * README: Add Guile-Gcrypt to the dependencies; move libgcrypt as "required unless --disable-daemon". * doc/guix.texi (Requirements): Likewise. * gnu/packages/bash.scm, guix/derivations.scm, guix/docker.scm, guix/git.scm, guix/http-client.scm, guix/import/cpan.scm, guix/import/cran.scm, guix/import/crate.scm, guix/import/elpa.scm, guix/import/gnu.scm, guix/import/hackage.scm, guix/import/texlive.scm, guix/import/utils.scm, guix/nar.scm, guix/pki.scm, guix/scripts/archive.scm, guix/scripts/authenticate.scm, guix/scripts/download.scm, guix/scripts/hash.scm, guix/scripts/pack.scm, guix/scripts/publish.scm, guix/scripts/refresh.scm, guix/scripts/substitute.scm, guix/store.scm, guix/store/deduplication.scm, guix/tests.scm, tests/base32.scm, tests/builders.scm, tests/challenge.scm, tests/cpan.scm, tests/crate.scm, tests/derivations.scm, tests/gem.scm, tests/nar.scm, tests/opam.scm, tests/pki.scm, tests/publish.scm, tests/pypi.scm, tests/store-deduplication.scm, tests/store.scm, tests/substitute.scm: Adjust imports. * gnu/system/vm.scm: Likewise. (guile-sqlite3&co): Rename to... (gcrypt-sqlite3&co): ... this. Add GUILE-GCRYPT. (expression->derivation-in-linux-vm)[config]: Remove. (iso9660-image)[config]: Remove. (qemu-image)[config]: Remove. (system-docker-image)[config]: Remove. * guix/scripts/pack.scm: Adjust imports. (guile-sqlite3&co): Rename to... (gcrypt-sqlite3&co): ... this. Add GUILE-GCRYPT. (self-contained-tarball)[build]: Call 'make-config.scm' without #:libgcrypt argument. (squashfs-image)[libgcrypt]: Remove. [build]: Call 'make-config.scm' without #:libgcrypt. (docker-image)[config, json]: Remove. [build]: Add GUILE-GCRYPT to the extensions Remove (guix config) from the imported modules. * guix/self.scm (specification->package): Remove "libgcrypt", add "guile-gcrypt". (compiled-guix): Remove #:libgcrypt. [guile-gcrypt]: New variable. [dependencies]: Add it. [*core-modules*]: Remove #:libgcrypt from 'make-config.scm' call. Add #:extensions. [*config*]: Remove #:libgcrypt from 'make-config.scm' call. (%dependency-variables): Remove %libgcrypt. (make-config.scm): Remove #:libgcrypt. * build-aux/build-self.scm (guile-gcrypt): New variable. (make-config.scm): Remove #:libgcrypt. (build-program)[fake-gcrypt-hash]: New variable. Add (gcrypt hash) to the imported modules. Adjust load path assignments. * gnu/packages/package-management.scm (guix)[propagated-inputs]: Add GUILE-GCRYPT. [arguments]: In 'wrap-program' phase, add GUILE-GCRYPT to the search path.
* Add (guix channels) and use it in (guix scripts pull).Ludovic Courtès2018-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/channels.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/pull.scm: Use it. (%default-options): Remove 'repository-url' and 'ref'. (show-help, %options): Add '--channels'. (%self-build-file, %pull-version, build-from-source) (whole-package-for-legacy, derivation->manifest-entry): Remove. These now exist in a similar form in (guix channels). (build-and-install): Change 'source' to 'instances'. Remove #:url, #:branch, and #:commit. Rewrite using 'channel-instances->manifest'. (channel-list): New procedure. (guix-pull): Parameterize %REPOSITORY-CACHE-DIRECTORY. Call 'honor-lets-encrypt-certificates!' unconditionally. Load ~/.config/guix/channels.scm. Rewrite to use (guix channels). [use-le-certs?]: Remove. * po/guix/POTFILES.in: Add (guix channels). * doc/guix.texi (Invoking guix pull): Group the description of '--url', '--commit', and '--branch'. Remove mention of 'GUIX_PULL_URL'. Add references to "Channels". Document '--channels'. (Channels): New node. (Defining Packages): Link to "Channels" instead of "Package Modules". (Invoking guix edit): Link to "Package Modules" instead of "Defining Packages". (Package Modules): Document both GUIX_PACKAGE_PATH and channels.