summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
...
* build-system/cargo: Remove store reference.Mathieu Othacehe2017-04-14
| | | | | | | | | | * 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>
* syscalls: Add load-linux-module.Mathieu Othacehe2017-04-11
| | | | | | | * guix/build/syscalls.scm (load-linux-module): New procedure. Reimplemented from guile-linux-syscalls.patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* syscalls: Use define-as-needed for network-interface syscalls.Mathieu Othacehe2017-04-11
| | | | | | | | | | * 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>
* syscalls: Use define-as-needed for mount and umount.Mathieu Othacehe2017-04-11
| | | | | | | | * 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>
* syscalls: Add reboot.Mathieu Othacehe2017-04-11
| | | | | | | | | * 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>
* monads: Improve mlet, mlet*, and mbegin documentation.Chris Marusich2017-04-08
| | | | | | | | * 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>
* monads, doc: Improve mwhen and munless documentation.Chris Marusich2017-04-08
| | | | | | | * 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>
* monads: Use intent-revealing parameter names.Chris Marusich2017-04-08
| | | | | | | | * 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>
* syscalls: Allow mount and umount use from static Guile.Mathieu Othacehe2017-04-07
| | | | | | | | | | * 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>
* profiles: Slightly improve the instructions in 'etc/profile'.Ludovic Courtès2017-04-07
| | | | | * guix/build/profiles.scm (build-etc/profile): Fix typo in comment. Add backslash in the generated shell comment.
* pack: Add '--expression'.Ludovic Courtès2017-04-07
| | | | | | | * 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'.
* size: Avoid '_' as a pattern variable in 'match'.Ludovic Courtès2017-04-07
| | | | | * guix/scripts/size.scm (display-profile, profile->page-map): Don't use '_' as a 'match' pattern variable.
* system: Support the --root option in 'guix system'.Chris Marusich2017-04-06
| | | | | | | | | | | | | 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>
* build: Add and export procedure 'register-root*'.Chris Marusich2017-04-06
| | | | | | * guix/scripts/build.scm (register-root*): Add and export it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* environment: Deal with single-entry search paths.Ludovic Courtès2017-04-05
| | | | | | | This is a followup to fcd75bdbfa99d14363b905afbf914eec20e69df8. * guix/scripts/environment.scm (create-environment): Check whether SEPARATOR is #f.
* profiles: Generate database file for man pages.Maxim Cournoyer2017-04-05
| | | | | | | | | | | 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>
* build-system/python: 'package-with-explicit-python' uses 'package-mapping'.Ludovic Courtès2017-04-05
| | | | | | | * 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'.
* packages: Add 'package-mapping' and base 'package-input-rewriting' on it.Ludovic Courtès2017-04-05
| | | | | | | * 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.
* import cran: Distinguish Bioconductor data packages.Ricardo Wurmus2017-04-05
| | | | | | * guix/import/cran.scm (bioconductor-package?): Exclude Bioconductor data packages. (bioconductor-data-package?): New procedure.
* download: Update the GnuPG mirror list.Leo Famulari2017-04-05
| | | | * guix/download.scm (%mirrors) <gnupg>: Use HTTP for TU Wien mirror.
* build: Export register-root procedure.Chris Marusich2017-04-05
| | | | | | * guix/scripts/build.scm: Export register-root procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* utils: Fix handling of shell arguments for xz compression.Leo Famulari2017-04-03
| | | | | | | | | 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.
* packages: Catch invalid input errors for structs.Ludovic Courtès2017-04-04
| | | | | | | | | 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.
* gexp: 'lower-object' raises an exception when passed an invalid object.Ludovic Courtès2017-04-04
| | | | | | | * 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?'.
* Merge branch 'core-updates'Ludovic Courtès2017-04-03
|\
| * Merge branch 'master' into core-updatesMarius Bakke2017-03-30
| |\ | | | | | | | | | Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698.
| * | packages: Remove "mips64el-linux" from '%hydra-supported-systems'.Ludovic Courtès2017-03-29
| | | | | | | | | | | | * guix/packages.scm (%hydra-supported-systems): Remove "mips64el-linux".
| * | 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.Manolis Ragkousis2017-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>.
| * | | | | | | | | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-02-20
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesLudovic Courtès2017-02-10
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesLeo Famulari2017-02-02
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | utils: Add helper method to make files writable.Marius Bakke2017-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/build/activation.scm (make-file-writable): Move this to ... * guix/build/utils.scm (make-file-writable): ... here. Export it. * guix/build/gnu-build-system.scm (strip): Use it.
| * | | | | | | | | | | | build-system/gnu: Add 'reset-gzip-timestamps' phase.Ludovic Courtès2017-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (reset-gzip-timestamps): New procedure. (%standard-phases): Add it.
| * | | | | | | | | | | | utils: Add 'gzip-file?' and 'reset-gzip-timestamp'.Ludovic Courtès2017-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (%gzip-magic-bytes): New variable. (gzip-file?, reset-gzip-timestamp): New procedures.
| * | | | | | | | | | | | build-system/gnu: 'strip' phase now skips symlinks.Ludovic Courtès2017-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a situation where the "debug" output would contain separate (and different) .debug files for "libfoo.so" and "libfoo.so.0.0", even though "libfoo.so" is actually a symlink to "libfoo.so.0.0". * guix/build/gnu-build-system.scm (strip): Remove 'file-exists?' call in 'for-each' lambda. Pass a predicate to 'find-files' to restrict the result to regular files.
| * | | | | | | | | | | | Merge branch 'master' into core-updatesLeo Famulari2017-01-25
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesLudovic Courtès2017-01-23
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | search-paths: Allow specs with #f as their separator.Ludovic Courtès2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for single-entry search paths. Fixes <http://bugs.gnu.org/25422>. Reported by Leo Famulari <leo@famulari.name>. * guix/search-paths.scm (<search-path-specification>)[separator]: Document as string or #f. (evaluate-search-paths): Add case for SEPARATOR as #f. (environment-variable-definition): Handle SEPARATOR being #f. * guix/build/utils.scm (list->search-path-as-string): Add case for SEPARATOR as #f. (search-path-as-string->list): Likewise. * guix/build/profiles.scm (abstract-profile): Likewise. * tests/search-paths.scm: New file. * Makefile.am (SCM_TESTS): Add it. * tests/packages.scm ("--search-paths with single-item search path"): New test. * gnu/packages/version-control.scm (git)[native-search-paths](separator): New field.
| * | | | | | | | | | | | | | guix package: Honor the order of profiles when -p appears multiple times.Ludovic Courtès2017-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/package.scm (process-query): Reverse the order of PROFILES. * tests/guix-package-net.sh: Test it with '--search-paths'.
| * | | | | | | | | | | | | | Merge branch 'master' into core-updatesLeo Famulari2017-01-06
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | build-system/perl: Don't create non-deterministic 'perllocal.pod' files.Marius Bakke2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/perl-build-system.scm (configure): Add "NO_PERLLOCAL=1" to Makefile.PL arguments.
| * | | | | | | | | | | | | | | Merge branch 'master' into core-updatesLeo Famulari2016-11-26
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | build-system/gnu: Make libraries writable before stripping.Marius Bakke2016-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (strip)[strip-dir]: Change mode of files before running strip-command.