Skip to content
Snippets Groups Projects
  1. Apr 18, 2013
    • Ludovic Courtès's avatar
      daemon: Add `--no-substitutes'. · 6858f9d1
      Ludovic Courtès authored
      Suggested by Mark H. Weaver.
      
      * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_SUBSTITUTES): New macro.
        (options): Add `--no-substitutes'.
        (parse_opt): Add `GUIX_OPT_NO_SUBSTITUTES' case.
        (main): Leave `settings.substituters' empty when
        `settings.useSubstitutes' is false.
      6858f9d1
    • Ludovic Courtès's avatar
      doc: Mention the home page. · 48febeb8
      Ludovic Courtès authored
      * doc/guix.texi (Installation): Add a sentence pointing to the home
        page.  Suggested by Arne Babenhauserheide.
      48febeb8
  2. Apr 17, 2013
  3. Apr 16, 2013
  4. Apr 12, 2013
    • Ludovic Courtès's avatar
      guix package: Add `--no-substitutes'. · 3b824605
      Ludovic Courtès authored
      * guix/scripts/package.scm (%default-options): Add `substitutes?'.
        (show-help, %options): Add and document `--no-substitutes'.
        (guix-package): Call `set-build-options' to honor `substitutes?'.
      3b824605
  5. Mar 05, 2013
  6. Mar 01, 2013
    • Ludovic Courtès's avatar
      guix package: Add `--install-from-expression'. · 5d4b411f
      Ludovic Courtès authored
      * 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'.
      5d4b411f
  7. Feb 27, 2013
    • Ludovic Courtès's avatar
      guix gc: Add `--references' and `--referrers'. · ba8b732d
      Ludovic Courtès authored
      * 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'.
      ba8b732d
  8. Feb 20, 2013
    • Ludovic Courtès's avatar
      Add "guix pull". · f651b477
      Ludovic Courtès authored
      * 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.
      f651b477
    • Ludovic Courtès's avatar
      build: Adjust guix.texi to Texinfo 5.0. · 7730d112
      Ludovic Courtès authored
      * doc/guix.texi: Change @title and @subtitle syntax to please Texinfo 5.0.
      7730d112
  9. Feb 19, 2013
    • Ludovic Courtès's avatar
      daemon: Add `--listen'. · b8d2aa26
      Ludovic Courtès authored
      * 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.
      b8d2aa26
  10. Feb 17, 2013
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · e49951eb
      Mark H Weaver authored
      * 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.
      e49951eb
  11. Feb 14, 2013
    • Mark H Weaver's avatar
      Build newest versions unless specified, and implement upgrades. · dc5669cd
      Mark H Weaver authored
      * 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.
      dc5669cd
  12. Feb 07, 2013
  13. Feb 01, 2013
    • Ludovic Courtès's avatar
      guix-package: Report `--search' matches in recutils format. · 299112d3
      Ludovic Courtès authored
      * 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.
      299112d3
  14. Jan 28, 2013
    • Nikita Karetnikov's avatar
      guix-package: Add '--search'. · acc08466
      Nikita Karetnikov authored
      * 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.
      acc08466
  15. Jan 27, 2013
  16. Jan 23, 2013
  17. Jan 22, 2013
    • Ludovic Courtès's avatar
      guix-build: Allow version-qualified package names. · 5401dd75
      Ludovic Courtès authored
      * 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.
      5401dd75
  18. Jan 20, 2013
  19. Jan 18, 2013
  20. Jan 17, 2013
    • Ludovic Courtès's avatar
      doc: Mark binary deployment as not implemented yet. · 75f1e8f7
      Ludovic Courtès authored
      * doc/guix.texi (Features): Add a footnote saying that binary deployment
        is missing.
      75f1e8f7
    • Ludovic Courtès's avatar
      guix-package: Add `--roll-back'. · 24e262f0
      Ludovic Courtès authored
      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'.
      24e262f0
  21. Jan 16, 2013
  22. Jan 15, 2013
  23. Jan 14, 2013
    • Ludovic Courtès's avatar
      guix-package: Create or diagnose missing profile directory. · 0ec1af59
      Ludovic Courtès authored
      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.
      0ec1af59
  24. Jan 13, 2013
    • Ludovic Courtès's avatar
      doc: Fix typos. · 80ba8cc0
      Ludovic Courtès authored
      * doc/guix.texi (Setting Up the Daemon): Use "useradd -c" for comments.
        Reported by Andreas Enge.
        (Invoking guix-gc): Fix typo.
      80ba8cc0
  25. Jan 11, 2013
  26. Jan 10, 2013
  27. Jan 09, 2013
  28. Jan 05, 2013
    • Ludovic Courtès's avatar
      Add `guix-gc'. · fe8ff028
      Ludovic Courtès authored
      * 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'.
      fe8ff028
Loading