aboutsummaryrefslogtreecommitdiff
path: root/guix
Commit message (Expand)AuthorAge
* serialization: Remove Guile < 2.0.9 workaround.•••* guix/serialization.scm (write-contents): Assume 'sendfile' is always defined. Ludovic Courtès2017-04-17
* records: Slight simplification.•••* guix/records.scm (make-syntactic-constructor): Simplify 'find' expression. Ludovic Courtès2017-04-17
* download: Add netfilter mirror.•••* guix/download.scm (%mirrors): Add mirrors for www.netfilter.org. Marius Bakke2017-04-17
* scripts: system: Rename --no-grub option to --no-bootloader.•••* guix/scripts/system.scm (%options, show-help): Adjust accordingly. Keep "--no-grub" for compatibility reasons, but do not mention it in the help. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Mathieu Othacehe2017-04-17
* lint: Avoid non-literal format strings.•••Reported by Mathieu Othacehe <m.othacehe@gmail.com> at <http://bugs.gnu.org/26498>. * guix/scripts/lint.scm (warn-if-package-has-input): Rename to... (package-input-intersection): ... this. Remove 'linted' and 'message' parameters. Return a list of inputs. (check-inputs-should-be-native): Adjust accordingly. (check-inputs-should-not-be-an-input-at-all): Likewise. Ludovic Courtès2017-04-16
* ui: Gracefully report '&message' conditions.•••* guix/ui.scm (report-load-error, warn-about-load-error) (read/eval): Add special-case for SRFI-35 &message conditions. Ludovic Courtès2017-04-16
* services: 'service-parameters' becomes 'service-value'.•••* gnu/services.scm (<service>)[parameters]: Rename to... [value]: ... this. Change calls to 'service-parameters' to 'service-value'. * gnu/system.scm, gnu/tests/base.scm, guix/scripts/system.scm, tests/services.scm: Likewise. * doc/guix.texi (Service Reference): Adjust accordingly. Ludovic Courtès2017-04-16
* system: Make grub use <menu-entry> instead of <boot-parameters> again.•••* gnu/system/grub.scm: Remove boot-parameters->menu-entry. (grub-configuration): Don't use boot-parameters->menu-entry. * gnu/system.scm (operating-system-bootcfg): Use menu-entry. * guix/scripts/system.scm (reinstall-grub): Use profile-grub-entries. (perform-action): Use profile-grub-entries. Danny Milosavljevic2017-04-15
* scripts: system: Introduce profile-boot-parameters.•••* guix/scripts/system.scm (profile-boot-parameters): New variable. (reinstall-grub): Use profile-boot-parameters. (perform-action): Use profile-boot-parameters. Follow-up to 2e58e05bb68d4b747882cfa2b460b132d456f54a. Danny Milosavljevic2017-04-15
* scripts: system: Rename grub? and install-grub? to bootloader? and install-b...•••* guix/scripts/system.scm (perform-action): Rename grub? to bootloader, (%options): rename install-grub? to install-bootloader?, (%default-options): ditto, (process-action): reindent and rename grub? to bootloader?. Mathieu Othacehe2017-04-15
* system: Rename operating-system-grub.cfg to operating-system-bootcfg.•••* gnu/system.scm (operating-system-grub.cfg): Rename to... (operating-system-bootcfg): ... this. * gnu/system/vm.scm (system-disk-image): Use operating-system-bootcfg. (system-qemu-image): Use operating-system-bootcfg. (system-qemu-image/shared-store): Use operating-system-bootcfg. * guix/scripts/system.scm (perform-action): Use operating-system-bootcfg. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Mathieu Othacehe2017-04-15
* scripts: system: Back out operating-system-bootcfg change.•••Follow-up to 475e2ce211ac05a814c1f1bc2b9648baa17ad369. * guix/scripts/system.scm (perform-action): Back out operating-system-bootcfg change. Danny Milosavljevic2017-04-15
* scripts: system: Move save-load-path-excursion and save-environment-excursion...•••* guix/scripts/system.scm (save-load-path-excursion, save-environment-excursion): Move definitions to the top of the file. It allows to use them in the whole file. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Danny Milosavljevic2017-04-15
* scripts: system: Move save-load-path-excursion and save-environment-excursion...•••* guix/scripts/system.scm (save-load-path-excursion, save-environment-excursion): Move definitions to the top of the file. It allows to use them in the whole file. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Mathieu Othacehe2017-04-15
* build-system/cargo: Remove store reference.•••* guix/build/cargo-build-system.scm (generate-checksums): Remove store reference from comment. This comment was matching assert-no-store-file-names regexp in Makefile.am. Also, edit procedure docstring to precise that DIR-NAME is a store directory. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe2017-04-14
* syscalls: Add load-linux-module.•••* guix/build/syscalls.scm (load-linux-module): New procedure. Reimplemented from guile-linux-syscalls.patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe2017-04-11
* syscalls: Use define-as-needed for network-interface syscalls.•••* guix/build/syscalls.scm (network-interface-flags): Use define-as-needed macro and remove from export list. (set-network-interface-flags): Ditto. (set-network-interface-address): Ditto. (IFF_UP, IFF_BROADCAST and IFF_LOOPBACK): Ditto. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe2017-04-11
* syscalls: Use define-as-needed for mount and umount.•••* guix/build/syscalls.scm (mount): Use define-as-needed macro and remove from export list. (umount): Ditto. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe2017-04-11
* syscalls: Add reboot.•••* guix/build/syscalls.scm (define-as-needed): New macro. (reboot): New procedure. Reimplemented from guile-linux-syscalls.patch. (RB_AUTOBOOT, ..., RB_KEXEC): New flags copied from static Guile patch. Co-Authored-By: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe2017-04-11
* monads: Improve mlet, mlet*, and mbegin documentation.•••* doc/guix.texi (The Store Monad) <mlet, mlet*, mbegin>: Clarify their intended usage. * guix/monads.scm (mbegin): Update docstring accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich2017-04-08
* monads, doc: Improve mwhen and munless documentation.•••* doc/guix.texi (The Store Monad) <mwhen, munless>: Document them. * guix/monads.scm (mwhen, munless): Clarify their intended use. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich2017-04-08
* monads: Use intent-revealing parameter names.•••* guix/monads.scm (mwhen, munless): Rename parameters from 'exp0' and 'exp' to 'mexp0' and 'mexp', respectively. This makes it more obvious that these expressions must be monadic expressions. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich2017-04-08
* syscalls: Allow mount and umount use from static Guile.•••* guix/build/syscalls.scm (mount): Use Guile core mount if called from static Guile, otherwise use FFI based mount implementation. (umount): Ditto. This allows to use (guix build syscalls) from a module independently of calling context. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe2017-04-07
* profiles: Slightly improve the instructions in 'etc/profile'.•••* guix/build/profiles.scm (build-etc/profile): Fix typo in comment. Add backslash in the generated shell comment. Ludovic Courtès2017-04-07
* pack: Add '--expression'.•••* guix/scripts/pack.scm (%options, show-help): Add '--expression'. (guix-pack)[maybe-package-argument]: New procedure. Use it, and remove variable 'specs'. * doc/guix.texi (Invoking guix pack): Document '--expression'. Ludovic Courtès2017-04-07
* size: Avoid '_' as a pattern variable in 'match'.•••* guix/scripts/size.scm (display-profile, profile->page-map): Don't use '_' as a 'match' pattern variable. Ludovic Courtès2017-04-07
* system: Support the --root option in 'guix system'.•••Fixes <https://bugs.gnu.org/26271>. * guix/scripts/system.scm (perform-action): Add #:gc-root parameter and honor it. (show-help): Document the --root option. (%options): Add 'root'. (process-action): Pass 'root' option to perform-action as #:gc-root. * doc/guix.texi (Invoking guix system): Document '--root'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich2017-04-06
* build: Add and export procedure 'register-root*'.•••* guix/scripts/build.scm (register-root*): Add and export it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich2017-04-06
* environment: Deal with single-entry search paths.•••This is a followup to fcd75bdbfa99d14363b905afbf914eec20e69df8. * guix/scripts/environment.scm (create-environment): Check whether SEPARATOR is #f. Ludovic Courtès2017-04-05
* profiles: Generate database file for man pages.•••The mandb database file (index.db) is used by the "apropos" (whatis) or "man -k" commands. This change introduces a profile hook to generate such database file. * guix/profiles.scm (manual-database): New procedure. (%default-profile-hooks): Add it. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Maxim Cournoyer2017-04-05
* build-system/python: 'package-with-explicit-python' uses 'package-mapping'.•••* guix/build-system/python.scm (package-with-explicit-python) [package-variant, cut?]: New procedures. [transform]: Remove 'mlambdaq' form and input tuple handling. Use 'package-mapping'. Ludovic Courtès2017-04-05
* packages: Add 'package-mapping' and base 'package-input-rewriting' on it.•••* guix/packages.scm (package-mapping): New procedure. (package-input-rewriting): Rewrite in terms of 'package-mapping'. * tests/packages.scm ("package-mapping"): New test. * doc/guix.texi (Defining Packages): Document it. Ludovic Courtès2017-04-05
* import cran: Distinguish Bioconductor data packages.•••* guix/import/cran.scm (bioconductor-package?): Exclude Bioconductor data packages. (bioconductor-data-package?): New procedure. Ricardo Wurmus2017-04-05
* download: Update the GnuPG mirror list.•••* guix/download.scm (%mirrors) <gnupg>: Use HTTP for TU Wien mirror. Leo Famulari2017-04-05
* build: Export register-root procedure.•••* guix/scripts/build.scm: Export register-root procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich2017-04-05
* utils: Fix handling of shell arguments for xz compression.•••Fixes test failures related to xz compression in tests/utils.scm. This is a followup to commit 63102406f22412bb922de5549deb89d3594a38c0. * guix/utils.scm (decompressed-port, compressed-port, compressed-output-port): Split each shell argument into its own list element. Leo Famulari2017-04-03
* packages: Catch invalid input errors for structs.•••Reported by Thomas Sigurdsen <thomas.sigurdsen@gmail.com> at <https://lists.gnu.org/archive/html/help-guix/2017-04/msg00007.html>. * guix/packages.scm (expand-input): Add 'guard' form around call to 'package-source-derivation'. * tests/packages.scm (dummy): New test. Ludovic Courtès2017-04-04
* gexp: 'lower-object' raises an exception when passed an invalid object.•••* guix/gexp.scm (&gexp-error, &gexp-input-error): New error conditions. (lower-object): Raise &gexp-input-error when 'lookup-compiler' returns #f. * tests/gexp.scm ("lower-object & gexp-input-error?"): New test. * guix/ui.scm (call-with-error-handling): Add case for 'gexp-input-error?'. Ludovic Courtès2017-04-04
* Merge branch 'core-updates'Ludovic Courtès2017-04-03
|\
| * Merge branch 'master' into core-updates•••Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698. Marius Bakke2017-03-30
| |\
| * | packages: Remove "mips64el-linux" from '%hydra-supported-systems'.•••* guix/packages.scm (%hydra-supported-systems): Remove "mips64el-linux". Ludovic Courtès2017-03-29
| * | Merge branch 'master' into core-updatesLeo Famulari2017-03-27
| |\ \
| * \ \ Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-03-23
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-03-22
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into core-updatesMark H Weaver2017-03-19
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2017-03-15
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-03-13
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into core-updatesLudovic Courtès2017-03-09
| |\ \ \ \ \ \ \ \
| * | | | | | | | | guix: build: make-bootstrap: Copy "falloc.h" to the new system.•••In glibc-2.25 a dependency on "linux/falloc.h" was added. This also reverts commit 8f8f250bdca917b3ce38aa0902f01b19081859a4 which is no longer needed. This commit was not compatible with the glibc version Hurd is using. See <https://lists.gnu.org/archive/html/guix-devel/2017-02/msg01046.html> * guix/build/make-bootstrap.scm (make-stripped-libc): Copy "falloc.h" to the new system. * gnu/packages/patches/glibc-bootstrap-system.patch: Remove part that touches fcntl-linux.h. Problem reported by Andreas Enge <andreas@enge.fr>. Manolis Ragkousis2017-02-27
| * | | | | | | | | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-02-20
| |\ \ \ \ \ \ \ \ \