summaryrefslogtreecommitdiff
path: root/doc/guix.texi
AgeCommit message (Expand)Author
2015-03-13services: slim: Use /run/current-system/profile/share/xsessions as sessiondir....* gnu/services/xorg.scm (<session-type>, %windowmaker-session-type) (%ratposion-session-type, %sawfish-session-type, %default-xsessions) (xsessions-directory): Remove. (slim-service): Remove #:sessions parameter. [slim.cfg]: Use /run/current-system/profile/share/xsessions as sessiondir. * doc/guix.texi <X Window>: Adjust accordingly. 宋文武
2015-03-11doc: Suggest to use 'lsh-service' with #:initialize? #t....Suggested by Tomáš Čech. * doc/guix.texi (Using the Configuration System): Pass #:initialize? #t to 'lsh-service'. Ludovic Courtès
2015-03-03Revert "system: Add 'x509-certificates' field, and populate /etc/ssl/certs."...This reverts commit e979e6dd523acaa2a089f1b8f44e34c1e5b7d32d. Mark H Weaver
2015-03-02system: Add 'x509-certificates' field, and populate /etc/ssl/certs....* gnu/system.scm (<operating-system>)[x509-certificates]: New field. (etc-directory): Add #:x509-certificates parameter and honor it. (operating-system-etc-directory): Pass #:x509-certificates in 'etc-directory' call. * doc/guix.texi (operating-system Reference): Document 'x509-certificates'. Ludovic Courtès
2015-02-26services: slim: Preserve the order of session types....That makes WindowMaker the default session, by default. * gnu/services/xorg.scm (xsessions-directory)[builder]: Prepend a number in the file name to preserve the order of SESSIONS. (slim-service): Augment docstring. * doc/guix.texi (X Window): Adjust accordingly. Ludovic Courtès
2015-02-18import: cpan: Use corelist to filter dependencies....* guix/import/cpan.scm (%corelist): New variable. (module->dist-name, core-module?): New procedures. (cpan-module->sexp)[convert-inputs]: Use them. Include "test" dependencies in converted inputs. * doc/guix.texi (Invoking guix import)[cpan]: Mention corelist filtering. Eric Bavier
2015-02-18build-system/perl: Use Build.PL for builds if present....* guix/build/perl-build-system.scm (configure): Use Build.PL if present. (build, check, install): New procedures. (%standard-phases): Replace build, check, and install phases. * guix/build-system/perl (perl-build): Add make-maker? and module-build-flags arguments. * doc/guix.texi (Build Systems)[perl-build-system]: Document behavior rsp. Build.PL and new arguments. Eric Bavier
2015-02-13gexp: Add #:graft? parameter to 'gexp->derivation'....* guix/gexp.scm (gexp->derivation): Add #:graft? parameter and honor it. * tests/gexp.scm ("gexp->derivation vs. grafts"): New test. * doc/guix.texi (G-Expressions): Update 'gexp->derivation' documentation. Ludovic Courtès
2015-02-12store: Add optional 'references' parameter to 'text-file'....* guix/store.scm (text-file): Add optional 'references' parameter. Pass it to 'add-text-to-store'. * doc/guix.texi (The Store Monad): Adjust accordingly. Ludovic Courtès
2015-02-11gexp: Add #:allowed-references parameter to 'gexp->derivation'....* guix/gexp.scm (lower-references): New procedure. (gexp->derivation): Add #:allowed-references and honor it. * tests/gexp.scm ("gexp->derivation #:allowed-references", "gexp->derivation #:allowed-references, disallowed"): New tests. * doc/guix.texi (G-Expressions): Update 'gexp->derivation' doc. Ludovic Courtès
2015-02-11doc: Use @code for the abstract USB image URL....Reported by Quentin Pradet <webmasters-comment@gnu.org>. * doc/guix.texi (System Installation): Use @code instead of @url for the abstract URL. Ludovic Courtès
2015-02-08services: lsh: Add graceful handling of daemonic option....* gnu/services/ssh.scm (lsh-service): New #:keys (daemonic?, pid-file?, pid-file). Build new lshd-command and expand service-requirement field. * doc/guix.texi (Networking Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> nebuli
2015-02-08build: Add 'waf-build-system'....* guix/build-system/waf.scm, guix/build/waf-build-system.scm: New files. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document waf-build-system. Ricardo Wurmus
2015-02-08doc: Remove ".ko" extension in 'base-initrd' example....Reported by Marek Benc. * doc/guix.texi (Initial RAM Disk): Remove ".ko" from the 'base-initrd' example. Add a comment. Ludovic Courtès
2015-02-07doc: Document the location of the build directory....Fixes <http://bugs.gnu.org/19771>. Reported by Andrei Osipov <andrspv@gmail.com>. * doc/guix.texi (Invoking guix-daemon): Document the build directory location. Ludovic Courtès
2015-02-06doc: Provide a better illustration of Ethernet interface names....Reported on #guix. * doc/guix.texi (System Installation)[USB Stick Installation]: Mention "eno1" instead of "eth0" and give other examples. Ludovic Courtès
2015-02-04services: Add wicd service....* gnu/services/networking.scm (wicd-service): New procedure. * doc/guix.texi (Networking Services): Document it. Mark H Weaver
2015-02-04services: nscd-service: Add #:name-services parameter....* gnu/services/base.scm (nscd-service): Add #:name-services parameter. In 'start' field, set LD_LIBRARY_PATH based on #:name-services. * doc/guix.texi (Base Services): Document it. (Name Service Switch): Link to 'nscd-service'. Ludovic Courtès
2015-02-04system: Add bindings to configure libc's NSS....* gnu/system/nss.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu.scm (%public-modules): Add it. * gnu/system.scm (<operating-system>)[name-service-switch]: New field. (etc-directory): Add #:nss parameter and honor it. (operating-system-etc-directory): Adjust call accordingly. * doc/guix.texi (operating-system Reference): Document 'name-service-switch'. (Name Service Switch): New section. Ludovic Courtès
2015-02-03services: xorg: Add sawfish session....* gnu/services/xorg.scm (%sawfish-session-type): New variable. * doc/guix.texi (X Window): Mention it. 宋文武
2015-02-02store: Remove 'build-derivations'....* guix/store.scm (build-derivations): Remove. * guix/derivations.scm (build-derivations): Write in terms of 'build-things'. * doc/guix.texi (Invoking guix build): Adjust text accordingly. Ludovic Courtès
2015-01-28doc: Fix typo for 'lsh-service'....* doc/guix.texi (Networking Services): Fix typo in 'lsh-service' parameters. Ludovic Courtès
2015-01-28doc: Update USB image size....* doc/guix.texi (System Installation): Change to --image-size=850MiB. Ludovic Courtès
2015-01-27doc: Change the USB image file name to 'gsd-usb-install*'....* doc/guix.texi (System Installation): Change the file name to 'gsd-usb-install-*'. Ludovic Courtès
2015-01-27doc: Update "Limitations" section....* doc/guix.texi (System Installation): Mention Xfce. Update package count. Ludovic Courtès
2015-01-26doc: Expound a bit on 'guix lint'....* doc/guix.texi (Invoking guix lint): Give examples of checkers. Ludovic Courtès
2015-01-26services: xorg: Define the <session-type> record type....* gnu/services/xorg.scm (<session-type>): New record type. (%windowmaker-session-type, %ratpoison-session-type): New variables. (%default-xsessions): Use them. (xsessions-directory): Expect SESSIONS to be a list of <session-type> and rewrite accordingly. (slim-service): Adjust docstring. * doc/guix.texi (X Window): Update accordingly. Ludovic Courtès
2015-01-23services: guix: #:authorize-hydra-key? now defaults to #t....* gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY? default value to #t. Ludovic Courtès
2015-01-23doc: Update USB installation image name....* doc/guix.texi (System Installation): Change image name to guix-usb-*. Ludovic Courtès
2015-01-23doc: Introduce the Guix System Distribution....* doc/guix.texi (Introduction): Introduce "Guix System Distribution". Add a couple of sentences about it. Remove "Guixotic". (GNU Distribution): Likewise. (System Installation): Ditto. Ludovic Courtès
2015-01-17doc: Document '%state-monad' and update '%store-monad' description....* doc/guix.texi (The Store Monad): Document '%state-monad' and related procedures. Describe '%store-monad' as an alias for '%state-monad'. * guix/monads.scm: Update commentary. Ludovic Courtès
2015-01-17guix archive: Add -r/--recursive....* guix/scripts/archive.scm (show-help, %options): Add -r/--recursive. (export-from-store): Pass #:recursive? to 'export-paths'. * doc/guix.texi (Invoking guix archive): Add -r in Emacs example. Add example with ~/.guix-profile. Document -r/--recursive. Ludovic Courtès
2015-01-17doc: Mention generation of ECDSA/Ed25519 keys when supported....* doc/guix.texi (Invoking guix archive): Mention ECDSA/Ed25519 as the default type of keys for libgcrypt >= 1.6.0. Ludovic Courtès
2015-01-16Merge branch 'core-updates'...Conflicts: gnu/packages/bootstrap.scm Ludovic Courtès
2015-01-14monads: Move '%store-monad' and related procedures where they belong....This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly. Ludovic Courtès
2015-01-14doc: Move 'text-file*' to the gexp section....This is a follow-up to commit 462a3fa. * doc/guix.texi (The Store Monad): Move 'text-file*'... (G-Expressions): ... to here. Ludovic Courtès
2015-01-13Merge branch 'master' into core-updatesMark H Weaver
2015-01-13doc: Change some occurrences of "the GNU system" to "Guixotic"....* doc/guix.texi (GNU Distribution): Explain what "Guixotic" is. (System Installation): Replace "the GNU system" by "Guixotic". (System Configuration): Likewise. (Invoking guix system): Likewise. Ludovic Courtès
2015-01-11Merge branch 'master' into core-updatesMark H Weaver
2015-01-09import: Add CPAN importer....* guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm: New files. * Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add them. * guix/scripts/import.scm (importers): Add cpan. * doc/guix.texi (Requirements): Mention `guix import cpan` as a user of guile-json. (Invoking guix import): Document new `guix import cpan` command. Eric Bavier
2015-01-07gnu: Add bootstrap binaries for 'armhf-linux'....* gnu/packages/bootstrap/armhf-linux/bash, gnu/packages/bootstrap/armhf-linux/mkdir, gnu/packages/bootstrap/armhf-linux/tar, gnu/packages/bootstrap/armhf-linux/xz: New files. * gnu-system.am (bootstrap_armhf_linuxdir, dist_bootstrap_armhf_linux_DATA) (nodist_bootstrap_armhf_linux_DATA): New variables. (DISTCLEANFILES): Add $(nodist_bootstrap_armhf_linux_DATA). (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz): New target. * build-aux/download.scm (file-name->uri): Use newer date in URI for armhf-linux. * gnu/packages/bootstrap.scm (raw-build): Use "guile-2.0.11.tar.xz" on armhf-linux. (glibc-dynamic-linker, %bootstrap-coreutils&co, %bootstrap-binutils) (%bootstrap-glibc, %bootstrap-gcc): Add armhf-linux cases. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add armhf case. (GUIX_ASSERT_SUPPORTED_SYSTEM): Add armhf-linux to list of supported systems. * doc/guix.texi (GNU Distribution): Add armhf-linux to the list of supported systems. Mark H Weaver
2015-01-04doc: guix-daemon now automatically creates '…/profiles/per-user'....Fixes <http://bugs.gnu.org/19315>. Reported by rekado <rekado@elephly.net>. * doc/guix.texi (Invoking guix package): Adjust text to new guix-daemon behavior introduced in commit 15ddeff. Ludovic Courtès
2014-12-14services: Make 'nscd-service' configurable; cache hosts/services by default....Before that, as it was given an empty configuration file, nscd would actually have all its caches disabled. * gnu/services/base.scm (<nscd-configuration>, <nscd-cache>): New record types. (%nscd-default-caches, %nscd-default-configuration): New variables. (nscd.conf-file): New procedure. (nscd-service): Add 'config' parameter. Use 'nscd.conf-file', and pass its result as the '-f' parameter of nscd. * doc/guix.texi (Base Services): Update 'nscd-service' documentation accordingly. Document 'nscd-configuration', 'nscd-cache', '%nscd-default-configuration', and '%nscd-default-caches'. Ludovic Courtès
2014-12-09doc: Explain how to set the ownership and permissions of /gnu/store....Fixes <http://bugs.gnu.org/19316>. Reported by rekado <rekado@elephly.net>. * doc/guix.texi (Build Environment Setup): Show commands to set the ownership and permissions of /gnu/store. Ludovic Courtès
2014-12-07doc: Give example uses of 'deco'....Suggested by Sleep_Walker on #guix. * doc/guix.texi (Services): Add 'deco' examples. Ludovic Courtès
2014-12-06guix: scripts: Parse $GUIX_BUILD_OPTIONS separately....Appending to "raw" args broke optional parameters in 'guix package -I' and 'guix package -A', and possibly other places. Therefore, switch to parsing each set of options on its own and append resulting alists together afterwards. * guix/scripts/archive.scm (parse-options-from): Rename from (parse-options) and add explicit argument. New form of (parse-options) using its old algorithm via -from function. * guix/scripts/build.scm: Ditto. * guix/scripts/environment.scm: Ditto. * guix/scripts/package.scm: Ditto. * guix/scripts/system.scm: Ditto. * tests/guix-package.sh: Add test. * doc/guix.texi (Invoking guix build): Make it clear that the options are parsed independently. Co-authored-by: Ludovic Courtès <ludo@gnu.org> nebuli
2014-12-02doc: Adjust misleading 'user-account' example....Reported by Sleep_Walker on #guix. * doc/guix.texi (Using the Configuration System): Remove numeric UID and GID from example. Ludovic Courtès
2014-12-01build-system/glib-or-gtk: Allow specific outputs to be excluded from wrapping....* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Add #:glib-or-gtk-wrap-excluded-outputs parameter and honor it. * guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Add #:glib-or-gtk-wrap-excluded-outputs parameter and pass it in BUILDER. * doc/guix.texi (Build Systems): Mention it. Ludovic Courtès
2014-11-30guix: scripts: Add GUIX_BUILD_OPTIONS environment handling....* doc/guix.texi (Invoking guix build): Mention 'GUIX_BUILD_OPTIONS'. * guix/scripts/archive.scm: (append args (environment-build-options)). * guix/scripts/build.scm: Ditto. * guix/scripts/environment.scm: Ditto. * guix/scripts/package.scm: Ditto. * guix/scripts/system.scm: Ditto. * guix/ui.scm (environment-build-options): New function. * guix/utils.scm (arguments-from-environment-variable): New function. * tests/guix-build.sh: Add tests. * test-env.in: Unset GUIX_BUILD_OPTIONS. Co-authored-by: Ludovic Courtès <ludo@gnu.org> nebuli
2014-11-30daemon: Default to '--cores=0'....Suggested by Deck Pickard <deck.r.pickard@gmail.com>. * nix/nix-daemon/guix-daemon.cc (main): Set 'settings.buildCores' to 0. * doc/guix.texi (Invoking guix-daemon): Adjust accordingly. Ludovic Courtès