aboutsummaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* import: cpan: Use corelist to filter dependencies.Eric Bavier2015-02-18
| | | | | | | | * 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.
* build-system/perl: Use Build.PL for builds if present.Eric Bavier2015-02-18
| | | | | | | | | | * 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.
* gexp: Add #:graft? parameter to 'gexp->derivation'.Ludovic Courtès2015-02-13
| | | | | | | * 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.
* store: Add optional 'references' parameter to 'text-file'.Ludovic Courtès2015-02-12
| | | | | | * guix/store.scm (text-file): Add optional 'references' parameter. Pass it to 'add-text-to-store'. * doc/guix.texi (The Store Monad): Adjust accordingly.
* gexp: Add #:allowed-references parameter to 'gexp->derivation'.Ludovic Courtès2015-02-11
| | | | | | | | * 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.
* doc: Use @code for the abstract USB image URL.Ludovic Courtès2015-02-11
| | | | | | | Reported by Quentin Pradet <webmasters-comment@gnu.org>. * doc/guix.texi (System Installation): Use @code instead of @url for the abstract URL.
* services: lsh: Add graceful handling of daemonic option.nebuli2015-02-08
| | | | | | | | | * 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>
* build: Add 'waf-build-system'.Ricardo Wurmus2015-02-08
| | | | | | | * 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.
* doc: Remove ".ko" extension in 'base-initrd' example.Ludovic Courtès2015-02-08
| | | | | | | Reported by Marek Benc. * doc/guix.texi (Initial RAM Disk): Remove ".ko" from the 'base-initrd' example. Add a comment.
* doc: Document the location of the build directory.Ludovic Courtès2015-02-07
| | | | | | | | Fixes <http://bugs.gnu.org/19771>. Reported by Andrei Osipov <andrspv@gmail.com>. * doc/guix.texi (Invoking guix-daemon): Document the build directory location.
* doc: Provide a better illustration of Ethernet interface names.Ludovic Courtès2015-02-06
| | | | | | | Reported on #guix. * doc/guix.texi (System Installation)[USB Stick Installation]: Mention "eno1" instead of "eth0" and give other examples.
* services: Add wicd service.Mark H Weaver2015-02-04
| | | | | * gnu/services/networking.scm (wicd-service): New procedure. * doc/guix.texi (Networking Services): Document it.
* services: nscd-service: Add #:name-services parameter.Ludovic Courtès2015-02-04
| | | | | | | * 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'.
* system: Add bindings to configure libc's NSS.Ludovic Courtès2015-02-04
| | | | | | | | | | | | * 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.
* services: xorg: Add sawfish session.宋文武2015-02-03
| | | | | * gnu/services/xorg.scm (%sawfish-session-type): New variable. * doc/guix.texi (X Window): Mention it.
* store: Remove 'build-derivations'.Ludovic Courtès2015-02-02
| | | | | | | * 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.
* doc: Fix typo for 'lsh-service'.Ludovic Courtès2015-01-28
| | | | | * doc/guix.texi (Networking Services): Fix typo in 'lsh-service' parameters.
* doc: Update USB image size.Ludovic Courtès2015-01-28
| | | | * doc/guix.texi (System Installation): Change to --image-size=850MiB.
* doc: Change the USB image file name to 'gsd-usb-install*'.Ludovic Courtès2015-01-27
| | | | | * doc/guix.texi (System Installation): Change the file name to 'gsd-usb-install-*'.
* doc: Update "Limitations" section.Ludovic Courtès2015-01-27
| | | | | * doc/guix.texi (System Installation): Mention Xfce. Update package count.
* doc: Expound a bit on 'guix lint'.Ludovic Courtès2015-01-26
| | | | * doc/guix.texi (Invoking guix lint): Give examples of checkers.
* services: xorg: Define the <session-type> record type.Ludovic Courtès2015-01-26
| | | | | | | | | | * 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.
* services: guix: #:authorize-hydra-key? now defaults to #t.Ludovic Courtès2015-01-23
| | | | | * gnu/services/base.scm (guix-service): Change AUTHORIZE-HYDRA-KEY? default value to #t.
* doc: Mention that guix.el works out-of-the-box on GSD.Ludovic Courtès2015-01-23
| | | | | * doc/emacs.texi (Emacs Initial Setup): Mention that it works out-of-the-box on GSD.
* doc: Update USB installation image name.Ludovic Courtès2015-01-23
| | | | * doc/guix.texi (System Installation): Change image name to guix-usb-*.
* doc: Introduce the Guix System Distribution.Ludovic Courtès2015-01-23
| | | | | | | * doc/guix.texi (Introduction): Introduce "Guix System Distribution". Add a couple of sentences about it. Remove "Guixotic". (GNU Distribution): Likewise. (System Installation): Ditto.
* doc: Document '%state-monad' and update '%store-monad' description.Ludovic Courtès2015-01-17
| | | | | | * 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.
* guix archive: Add -r/--recursive.Ludovic Courtès2015-01-17
| | | | | | | * 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.
* doc: Mention generation of ECDSA/Ed25519 keys when supported.Ludovic Courtès2015-01-17
| | | | | * doc/guix.texi (Invoking guix archive): Mention ECDSA/Ed25519 as the default type of keys for libgcrypt >= 1.6.0.
* Merge branch 'core-updates'Ludovic Courtès2015-01-16
|\ | | | | | | | | Conflicts: gnu/packages/bootstrap.scm
| * Merge branch 'master' into core-updatesMark H Weaver2015-01-13
| |\
| * \ Merge branch 'master' into core-updatesMark H Weaver2015-01-11
| |\ \
| * | | gnu: Add bootstrap binaries for 'armhf-linux'.Mark H Weaver2015-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | | monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | doc: Move 'text-file*' to the gexp section.Ludovic Courtès2015-01-14
| |_|/ |/| | | | | | | | | | | | | | | | | This is a follow-up to commit 462a3fa. * doc/guix.texi (The Store Monad): Move 'text-file*'... (G-Expressions): ... to here.
* | | doc: Change some occurrences of "the GNU system" to "Guixotic".Ludovic Courtès2015-01-13
| |/ |/| | | | | | | | | | | * doc/guix.texi (GNU Distribution): Explain what "Guixotic" is. (System Installation): Replace "the GNU system" by "Guixotic". (System Configuration): Likewise. (Invoking guix system): Likewise.
* | import: Add CPAN importer.Eric Bavier2015-01-09
|/ | | | | | | | | | * 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.
* doc: guix-daemon now automatically creates '…/profiles/per-user'.Ludovic Courtès2015-01-04
| | | | | | | | 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.
* services: Make 'nscd-service' configurable; cache hosts/services by default.Ludovic Courtès2014-12-14
| | | | | | | | | | | | | | | 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'.
* doc: Explain how to set the ownership and permissions of /gnu/store.Ludovic Courtès2014-12-09
| | | | | | | | 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.
* doc: Give example uses of 'deco'.Ludovic Courtès2014-12-07
| | | | | | Suggested by Sleep_Walker on #guix. * doc/guix.texi (Services): Add 'deco' examples.
* guix: scripts: Parse $GUIX_BUILD_OPTIONS separately.nebuli2014-12-06
| | | | | | | | | | | | | | | | | | | | 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>
* doc: emacs: Fix typo.Alex Kost2014-12-03
| | | | | | Reported by Ludovic Courtès <ludo@gnu.org>. * doc/emacs.texi (Emacs Initial Setup): Replace "inbuilt" with "built-in".
* doc: emacs: Document autoloading Emacs packages.Alex Kost2014-12-02
| | | | | * doc/emacs.texi (Emacs Initial Setup): Describe how Emacs packages installed in a user profile are autoloaded by "guix.el"
* doc: Adjust misleading 'user-account' example.Ludovic Courtès2014-12-02
| | | | | | | Reported by Sleep_Walker on #guix. * doc/guix.texi (Using the Configuration System): Remove numeric UID and GID from example.
* build-system/glib-or-gtk: Allow specific outputs to be excluded from wrapping.Ludovic Courtès2014-12-01
| | | | | | | | * 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.
* guix: scripts: Add GUIX_BUILD_OPTIONS environment handling.nebuli2014-11-30
| | | | | | | | | | | | | | | * 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>
* daemon: Default to '--cores=0'.Ludovic Courtès2014-11-30
| | | | | | | 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.
* doc: Explain that 'file-system' must refer to mapped devices by file name.Ludovic Courtès2014-11-30
| | | | | * doc/guix.texi (File Systems): Clarify what to do when mapped devices are used.
* Revert "system: Add a 'needed-for-boot?' field to 'mapped-device'."Ludovic Courtès2014-11-30
| | | | | | | This reverts commit 3b09332adf7ce8e976a4d117a62c586a53af04aa, which turned out to be a bad idea because we need to have dependency information between the device-mapping service and the file-system service that uses it.