summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2013-03-01guix package: Add `--install-from-expression'.Ludovic Courtès
* guix/scripts/package.scm (read/eval-package-expression): New procedure. (show-help): Add `-e'. (%options): Likewise. (guix-package)[process-actions]: Handle ('install . p) pairs, where P is a package. * tests/guix-package.sh: Add `boot_make_drv'. Use `-i $boot_make_drv' once, and then use `-e $boot_make'. * doc/guix.texi (Invoking guix package): Document `-e'.
2013-02-27guix gc: Add `--references' and `--referrers'.Ludovic Courtès
* guix/scripts/gc.scm (show-help): Update. (%options): Add `--references' and `--referrers'. (guix-gc)[symlink-target, store-directory]: New procedures. Handle the `list-references' and `list-referrers' actions. * tests/guix-gc.sh: Add tests for `--references'. * doc/guix.texi (Invoking guix gc): Document `--references' and `--referrers'.
2013-02-20Add "guix pull".Ludovic Courtès
* guix/scripts/pull.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi (Invoking guix pull): New node. (Invoking guix package): Add cross-ref to it. * guix/ui.scm (config-directory): New procedure. * scripts/guix.in: When `GUIX_UNINSTALLED' is undefined, add $XDG_CONFIG_HOME/guix/latest to the search path. * po/POTFILES.in: Add guix/scripts/pull.scm.
2013-02-20build: Adjust guix.texi to Texinfo 5.0.Ludovic Courtès
* doc/guix.texi: Change @title and @subtitle syntax to please Texinfo 5.0.
2013-02-19daemon: Add `--listen'.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LISTEN): New macro. (options): Add `--listen'. (parse_opt): Handle it. * doc/guix.texi (Invoking guix-daemon): Mention it.
2013-02-16Replace individual scripts with master 'guix' script.Mark H Weaver
* scripts/guix.in: New script. * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm', 'guix/scripts/import.scm', 'guix/scripts/package.scm', and 'guix/scripts/gc.scm'. * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. * guix-build.in, guix-download.in, guix-gc.in, guix-import.in, guix-package.in: Remove shell script boilerplate. Move to guix-COMMAND.in to guix/scripts/COMMAND.scm. Rename module from (guix-COMMAND) to (guix scripts COMMAND). Change "guix-COMMAND" to "guix COMMAND" in usage help string. * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH. Export $GUIX_UNINSTALLED. * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of "guix-COMMAND". * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with "guix COMMAND". * po/POTFILES.in: Update.
2013-02-13Build newest versions unless specified, and implement upgrades.Mark H Weaver
* gnu/packages.scm (find-newest-available-packages): New exported procedure. * guix-build.in (newest-available-packages, find-best-packages-by-name): New procedures. (find-package): Use find-best-packages-by-name, to guarantee that if a version number is not specified, only the newest versions will be considered. * guix-package.in (%options): Add --upgrade/-u option. (newest-available-packages, find-best-packages-by-name, upgradeable?): New procedures. (find-package): Use find-best-packages-by-name, to guarantee that if a version number is not specified, only the newest versions will be considered. (process-actions): Implement upgrade option. * doc/guix.texi (Invoking guix-package): In the description of --install, mention that if no version number is specified, the newest available version will be selected.
2013-02-07doc: Document installation of propagated inputs.Ludovic Courtès
* doc/guix.texi (Invoking guix-package): Document installation behavior with propagated inputs.
2013-02-01guix-package: Report `--search' matches in recutils format.Ludovic Courtès
* guix/ui.scm (fill-paragraph, string->recutils, package->recutils): New procedures. * guix-package.in (guix-package)[process-query]: Use `package->recutils' to display package meta-data. * tests/guix-package.sh: Adjust test. * tests/ui.scm: New file. * Makefile.am (TESTS): Add it. * doc/guix.texi (Invoking guix-package): Adjust `--search' documentation, and give an example.
2013-01-28guix-package: Add '--search'.Nikita Karetnikov
* guix-package.in (find-packages-by-description): New procedure. (show-help, %options): Add '--search'. (guix-package)[process-query]: Add support for '--search'. * doc/guix.texi (Invoking guix-package): Document it. * tests/guix-package.sh: Add tests.
2013-01-27guix-package: Always use the next number for new generations.Ludovic Courtès
Suggested by Andreas Enge <andreas@enge.fr> at <http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00325.html>. * guix-package.in (latest-profile-number): Remove. (switch-symlinks): New procedure. (roll-back)[switch-link]: Use it. (guix-package)[process-actions]: Always choose NUMBER + 1 for the new profile. Use `switch-symlinks' instead of `symlink'. Remove code to delete PROFILE when it exists since `switch-symlinks' has the same effect. * tests/guix-package.sh: Adjust existing `--roll-back' tests. * doc/guix.texi (Invoking guix-package): Document this `--roll-back' behavior.
2013-01-27guix-package: When rolling back to nothingness, point to the empty profile.Ludovic Courtès
Suggested by Andreas Enge <andreas@enge.fr> at <http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00316.html>. * guix-package.in (roll-back): Check whether PROFILE is valid using `file-exists?'. When NUMBER is zero, just emit a notice. When PREVIOUS-NUMBER is zero and PREVIOUS-PROFILE does not exist, build the empty profile, and link to it. * tests/guix-package.sh: Add tests. * doc/guix.texi (Invoking guix-package): Document the new behavior.
2013-01-23doc: Clarify that `guix-build' really is for developers.Ludovic Courtès
* doc/guix.texi (Invoking guix-build): Make it clear that `guix-build' doesn't access the user's profile, and add cross-ref to `guix-package'. Suggested by Nikita Karetnikov <nikita@karetnikov.org>.
2013-01-23doc: Improve wording and fix typos in "Features".Ludovic Courtès
* doc/guix.texi (Features): Fix typos, and rephrase according to the suggestions of Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.
2013-01-22guix-build: Allow version-qualified package names.Ludovic Courtès
* guix-build.in (guix-build)[find-package]: New procedure. Use it instead of using `find-packages-by-name' directly. Suggested by Andreas Enge <andreas@enge.fr>. * tests/guix-build.sh: Add tests. * doc/guix.texi (Invoking guix-build): Add `coreutils-8.20' as an example. Fix guile-1.8 example.
2013-01-20packages: Have `package-derivation' return a <derivation> as a second value.Ludovic Courtès
* guix/packages.scm (cache): Change the `drv' argument to `thunk'. Memoize all the return values of THUNK. (cached-derivation): Remove. (cached): New macro. (package-derivation): Use `cached' instead of `(or (cached-derivation) …)'. * doc/guix.texi (Defining Packages): Update accordingly.
2013-01-20doc: Run `useradd -g guix-builder -G guix-builder'.Ludovic Courtès
* doc/guix.texi (Setting Up the Daemon): Add `-G guix-builder' when invoking `useradd'. Suggested by Aleix Conchillo Flaqué <aconchillo@gmail.com>.
2013-01-18doc: Add a "GNU Distribution" node.Ludovic Courtès
* doc/guix.texi (Introduction): Add cross-reference to "GNU Distribution". (Features): Mention reproducibility. (Invoking guix-package): Add cross-reference to "GNU Distribution". (GNU Distribution): New node.
2013-01-18doc: Mark binary deployment as not implemented yet.Ludovic Courtès
* doc/guix.texi (Features): Add a footnote saying that binary deployment is missing.
2013-01-17guix-package: Add `--roll-back'.Ludovic Courtès
Based on a patch by Nikita Karetnikov <nikita@karetnikov.org>. * guix-package.in (profile-regexp): New procedure. (latest-profile-number): Remove `%profile-rx', and use `profile-regexp' instead. (profile-number, roll-back): New procedure. (show-help): Add `--roll-back'. (%options): Likewise. (guix-package)[process-actions]: First check whether `roll-back?' is among OPTS, and call `roll-back' if it is, followed by a recursive call to `process-actions'. Emit the "nothing to be done" message only when INSTALL or REMOVE is non-empty. * tests/guix-package.sh (readlink_base): New function. Add tests for `--roll-back'. * doc/guix.texi (Invoking guix-package): Document `--roll-back'.
2013-01-16doc: Start documenting derivations.Ludovic Courtès
* doc/guix.texi (Defining Packages): Add cross-reference to "Derivations". (The Store): Add `build-derivations'. (Derivations): Populate.
2013-01-16doc: Fix typos, and improve daemon documentation.Ludovic Courtès
* doc/guix.texi: Fix typos. (Invoking guix-daemon): Add details about `--disable-log-compression' and `--disable-store-optimization'. Reported by Nikita Karetnikov <nikita@karetnikov.org>.
2013-01-16doc: Remove @documentlanguage.Ludovic Courtès
* doc/guix.texi: Remove @documentlanguage, which confuses TeX.
2013-01-15doc: Start documenting (guix store).Ludovic Courtès
* doc/guix.texi (The Store): Populate. (Introduction): Add cross-reference. Change "package store" to "the store".
2013-01-14guix-package: Create or diagnose missing profile directory.Ludovic Courtès
Reported by Andreas Enge. * guix-package.in (%profile-directory): Honor $NIX_STATE_DIR. (guix-package)[ensure-default-profile]: Use it. [process-actions]: Call it when the `profile' option is %CURRENT-PROFILE. * tests/guix-package.sh: Add installation test with $HOME set, using the default profile.
2013-01-13doc: Fix typos.Ludovic Courtès
* doc/guix.texi (Setting Up the Daemon): Use "useradd -c" for comments. Reported by Andreas Enge. (Invoking guix-gc): Fix typo.
2013-01-11doc: Mention store sharing with Nix; update `package' example.Ludovic Courtès
* doc/guix.texi: Set @documentlanguage. (Installation): Add reference to `INSTALL' and `README'. (Requirements): Mention store sharing with Nix. (Defining Packages): Update example to include `use-modules' clauses and to use (guix licenses).
2013-01-11Merge branch 'core-updates'Ludovic Courtès
Conflicts: guix/build/union.scm
2013-01-10distro: libsigsegv: Use a single output.Ludovic Courtès
* distro/packages/libsigsegv.scm (libsigsegv): Use just a single output, otherwise nothing ends up in `out' as a consequence of commit a06a99f. Reported by Andreas Enge <andreas@enge.fr>.
2013-01-09doc: Clarify package version specification example.Ludovic Courtès
* doc/guix.texi (Invoking guix-package): Use "guile-1.8.8" as the example, not "guile-1.8" since there is no such version.
2013-01-09guix-package: Create ~/.guix-profile when it doesn't exist.Ludovic Courtès
* guix-package.in (guix-package): Create the %USER-ENVIRONMENT-DIRECTORY symlink if it doesn't exist yet. * doc/guix.texi (Invoking guix-package): Document it.
2013-01-09guix-package: Show package outputs in `--list-available'.Ludovic Courtès
* guix-package.in (guix-package)[process-query]: For `list-available', show the outputs of each package. * doc/guix.texi (Invoking guix-package): Update accordingly.
2013-01-09doc: Update copyright years; add visible copyright statement.Ludovic Courtès
* doc/guix.texi (YEARS): New variable. Use it for all copyright statements. (Top): Add a copyright statement and license header here.
2013-01-09doc: Documentation installation and the daemon.Ludovic Courtès
* doc/guix.texi (Installation): New node.
2013-01-06Add `guix-gc'.Ludovic Courtès
* guix-gc.in, tests/guix-gc.sh: New files. * configure.ac: Output `guix-gc', and make it executable. * Makefile.am (bin_SCRIPTS): Add `guix-gc'. (TESTS): Add `tests/guix-gc.sh'. * doc/guix.texi (Features): Add xref to "Invoking guix-gc". (Invoking guix-gc): New node. * po/POTFILES.in: Add `guix-gc.in'.
2012-12-15guix-build: Add `--verbosity'.Ludovic Courtès
* guix-build.in (%default-options): Add `verbosity'. (%options): Add `--verbosity'. (guix-build): Pass it to `set-build-options'. (show-help): Update accordingly. * doc/guix.texi (Invoking guix-build): Document `--verbosity'.
2012-12-12guix-package: Add `--verbose'; silence the environment's build by default.Ludovic Courtès
* guix-package.in (%options): Add `--verbose'. (show-help): Update accordingly. (guix-package): Parameterize `current-build-output-port' according to VERBOSE?. By default, silence the environment build's output.
2012-12-12doc: Fix typos.Ludovic Courtès
* doc/guix.texi: Fix typos. Reported by Andreas Enge <andreas@enge.fr>.
2012-12-09doc: Correct short name of `--install' option of `guix-package'.Ludovic Courtès
* doc/guix.texi (Invoking guix-package): Fix short form of `--install'. Reported by Andreas Enge <andreas@enge.fr>.
2012-11-25doc: Mention the pronunciation of "Guix".Ludovic Courtès
* README: Mention pronunciation of "Guix". * doc/guix.texi (Introduction): Likewise.
2012-11-21doc: Document basic package definitions.Ludovic Courtès
* doc/guix.texi (Programming Interface): Add introduction. (Defining Packages): Populate.
2012-11-19guix-package: Add `--list-available'.Ludovic Courtès
* guix-package.in (show-help, %options): Add `--list-available'. (guix-package)[process-query]: Add support for `--list-available'. * doc/guix.texi (Invoking guix-package): Document it. * tests/guix-package.sh: Add test. * guix/ui.scm (location->string): New procedure. * guix/utils.scm: Export <location>.
2012-11-19guix-package: Add `--list-installed'.Ludovic Courtès
* guix-package.in (show-help, %options): Add `--list-installed'. (guix-package): Move main body to... [process-actions]: ... here. New internal procedure. [process-query]: New procedure. * tests/guix-package.sh: Add tests for `--list-installed'. * doc/guix.texi (Invoking guix-package): Document it.
2012-11-18Turn Guix into "GNU Guix".Ludovic Courtès
* configure.ac: Change package name to "GNU Guix", and bug-report address to `gnu-system-discuss@gnu.org'. * doc/guix.texi: Replace "Guix" by "GNU Guix" in some places. (Top, Introduction): Mention "for the GNU system". * HACKING, README: Use "GNU Guix" instead of "Guix" in some places.
2012-11-07doc: Document the features and `guix-package'.Ludovic Courtès
* doc/guix.texi: Change the category to "Package management". Add an @direntry for "Invoking guix-package". (Package Management): New chapter.
2012-11-07doc: Document `guix-build'.Ludovic Courtès
* doc/guix.texi (Invoking guix-build): Populate.
2012-11-07doc: Remove unnecessary @ifinfo.Ludovic Courtès
* doc/guix.texi: Remove @ifinfo around @dir{category,entry}. Suggested by Karl Berry <karl@freefriends.org>.
2012-10-13doc: Add the stub of a manual.Ludovic Courtès
* doc/guix.texi: New file. * doc/fdl-1.3.texi: New file, copied from Gnulib. * Makefile.am (info_TEXINFOS): New variable. (EXTRA_DIST): Add `doc/fdl-1.3.texi'.