Skip to content
Snippets Groups Projects
  1. Jul 09, 2015
  2. Jul 08, 2015
    • Ludovic Courtès's avatar
      doc: Remove extra quotes around URLs. · 840bd1d3
      Ludovic Courtès authored
      * doc/guix.texi (Invoking guix import): Remove extraneous quotes around URLs.
      840bd1d3
    • Federico Beffa's avatar
      build: Add 'emacs-build-system'. · e9137a53
      Federico Beffa authored
      * Makefile.am (MODULES): Add 'guix/build-system/emacs.scm' and
        'guix/build/emacs-build-system.scm'.
      * guix/build-system/emacs.scm: New file.
      * guix/build/emacs-build-system.scm: New file.
      * doc/guix.texi (Build Systems): Document it.
      e9137a53
    • Federico Beffa's avatar
      import: Add 'elpa' importer. · 7f74a931
      Federico Beffa authored
      * guix/import/elpa.scm: New file.
      * guix/scripts/import.scm: Add "elpa" to 'importers'.
      * guix/scripts/import/elpa.scm: New file.
      * Makefile.am (MODULES): Add 'guix/import/elpa.scm' and
        'guix/scripts/import/elpa.scm'.
        (SCM_TESTS): Add 'tests/elpa.scm'.
      * doc/guix.texi (Invoking guix import): Document it.
      * tests/elpa.scm: New file.
      * po/guix/POTFILES.in: Add 'guix/scripts/import/elpa.scm'.
      7f74a931
  3. Jul 02, 2015
    • Ludovic Courtès's avatar
      derivations: Add #:substitutable?, distinguished from #:local-build?. · 4a6aeb67
      Ludovic Courtès authored
      Fixes <http://bugs.gnu.org/18747>.
      
      * guix/derivations.scm (substitutable-derivation?): Rewrite to check for
        "allowSubstitutes".
        (derivation): Add #:substitutable? parameter.
        [user+system-env-vars]: Honor it.
        (build-expression->derivation): Add #:substitutable? and honor it.
      * guix/gexp.scm (gexp->derivation): Likewise.
      * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes,
        non-substitutable build"): Use #:substitutable? instead of #:local-build?.
        ("substitutable-derivation?", "derivation-prerequisites-to-build and
        substitutes, local build"): New tests.
      * guix/download.scm (url-fetch): Adjust comment.
      * guix/git-download.scm (git-fetch): Likewise.
      * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Use #:substitutable?
        instead of #:local-build?.
      * doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
      4a6aeb67
  4. Jul 01, 2015
    • Ludovic Courtès's avatar
      environment: Define 'GUIX_ENVIRONMENT'. · 28de8d25
      Ludovic Courtès authored
      * guix/scripts/environment.scm (create-environment): Define 'GUIX_ENVIRONMENT'.
      * doc/guix.texi (Invoking guix environment): Document it.
      * gnu/system/shadow.scm (default-skeletons): Adjust 'PS1' depending on whether
        'GUIX_ENVIRONMENT' is defined.
      28de8d25
    • Ludovic Courtès's avatar
      doc: Mention .bashrc vs. .bash_profile for 'guix environment'. · 50500f7c
      Ludovic Courtès authored
      * doc/guix.texi (Invoking guix environment): Add footnote about .bashrc
        vs. .bash_profile.
      50500f7c
    • Ludovic Courtès's avatar
      environment: For --ad-hoc, allow users to specify an output. · 417c39f1
      Ludovic Courtès authored
      * guix/scripts/environment.scm (package+propagated-inputs): Add 'output'
        parameter.  Use it in return value.
        (options/resolve-packages): Use 'append-map' instead of 'map'.  For 'load'
        and 'expression', return all the outputs of the resulting package.  For
        'package', use 'specification->package+output' instead of
        'specification->package'.
        (guix-environment): Adjust uses of PACKAGES accordingly.
      * doc/guix.texi (Invoking guix environment): Document it.
      * tests/guix-environment.sh: Add test for --ad-hoc guile-bootstrap:out.
      417c39f1
    • Ludovic Courtès's avatar
      environment: Add --system. · ce367ef3
      Ludovic Courtès authored
      * guix/scripts/environment.scm (show-help, %options): Add -s/--system.
        (%default-options): Add 'system' pair.
        (guix-environment): Pass 'system' value from OPTS to 'lower-inputs'.
      * doc/guix.texi (Invoking guix environment): Document it.
      ce367ef3
  5. Jun 29, 2015
  6. Jun 22, 2015
    • Ludovic Courtès's avatar
      doc: Add "Application Setup" section. · 0e2d0213
      Ludovic Courtès authored
      * doc/guix.texi (Application Setup): New node.
      0e2d0213
    • Alex Kost's avatar
      emacs: Add "edit" command to a list of packages. · 6248e326
      Alex Kost authored
      * emacs/guix-base.el (guix-edit-package): New function.
      * emacs/guix-list.el (guix-list-edit-package): New command.  Bind it to
        "e" key.
      * emacs/guix-main.scm (package-location-string): New procedure.
      * doc/emacs.texi (Emacs List buffer): Document "e" key binding.
      * doc/guix.texi (Invoking guix edit): Mention "package list" buffer.
      6248e326
  7. Jun 21, 2015
    • Ludovic Courtès's avatar
      size: Add '--map-file' option. · a8f996c6
      Ludovic Courtès authored
      * guix/scripts/size.scm (profile->page-map): New procedures.
        (show-help, %options):  Add --map-file.
        (guix-size): Honor it.
      * doc/guix.texi (Invoking guix size): Document it.
      * doc/images/coreutils-size-map.png: New file.
      * doc.am (dist_infoimage_DATA): Add it.
      a8f996c6
  8. Jun 17, 2015
    • Ludovic Courtès's avatar
      Add 'guix size'. · fcc58db6
      Ludovic Courtès authored
      * guix/scripts/size.scm: New file.
      * Makefile.am (MODULES): Add it.
        (SCM_TESTS): Add tests/size.scm.
      * doc.am (SUBCOMMANDS): Add 'size'.
      * po/guix/POTFILES.in: Add guix/scripts/size.scm.
      * tests/size.scm: New file.
      * doc/guix.texi (Packages with Multiple Outputs): Add xref to "Invoking guix
        size".
        (Invoking guix size): New node.
        (Invoking guix gc): Add index for "closure" and xref to the above.
      * doc/contributing.texi (Submitting Patches): Use @enumerate for the check
        list.  Add item about 'guix size'.
      fcc58db6
    • Ludovic Courtès's avatar
      Add 'guix edit'. · 39bee8a2
      Ludovic Courtès authored
      * guix/scripts/edit.scm: New file.
      * Makefile.am (MODULES): Add it.
      * doc.am (SUBCOMMANDS): Add 'edit'.
      * doc/guix.texi (Defining Packages): Add xref to "Invoking guix edit".
        (Invoking guix edit): New node.
      * po/guix/POTFILES.in: Add it.
      39bee8a2
  9. Jun 16, 2015
    • Alex Kost's avatar
      system: Rename 'sudoers' into 'sudoers-file'. · f5a9ffa0
      Alex Kost authored
      * gnu/system.scm (<operating-system>): Rename record field.
        (etc-directory): Rename argument.
        (operating-system-etc-directory): Adjust accordingly.
      * doc/guix.texi (operating-system Reference): Likewise.
      f5a9ffa0
  10. Jun 15, 2015
  11. Jun 13, 2015
    • Mathieu Lirzin's avatar
      doc: Move most 'HACKING' informations into the manual. · 8c01b9d0
      Mathieu Lirzin authored
      * HACKING (Contributing): New section.
        (Building from Git, The Perfect Setup, Coding Style, Submitting Patches):
        Move to ...
      * doc/guix.texi (Running Guix Before It Is Installed): Likewise.
      * doc/contributing.texi: ... here. New file.
      * doc.am (EXTRA_DIST): Use it.
      * README (Installation): Adapt to it.
      * configure.ac (DOT): Likewise.
      8c01b9d0
  12. Jun 11, 2015
    • Ludovic Courtès's avatar
      guix build: Allow directories to be passed to --with-source. · a43b55f1
      Ludovic Courtès authored
      * guix/scripts/build.scm (package-with-source)[tarball-base-name]: Gracefully
        handle file names that lack an extension.
        Pass #:recursive? #t to 'download-to-store'.
      * guix/download.scm (download-to-store): Add #:recursive? parameter and pass
        it to 'add-to-store'.
      * doc/guix.texi (Invoking guix build): Add an example of --with-source with a
        directory.
      a43b55f1
  13. Jun 09, 2015
    • Federico Beffa's avatar
      import: hackage: Refactor parsing code and add new options. · a4154748
      Federico Beffa authored
      * guix/import/cabal.scm: New file.
      * guix/import/hackage.scm: Update to use the new Cabal parsing module.
      * tests/hackage.scm: Update tests.
      * guix/scripts/import/hackage.scm: Add new '--cabal-environment' and '--stdin'
        options.
      * doc/guix.texi: ... and document them.
      * Makefile.am (MODULES): Add 'guix/import/cabal.scm',
        'guix/import/hackage.scm' and 'guix/scripts/import/hackage.scm'.
        (SCM_TESTS): Add 'tests/hackage.scm'.
      a4154748
  14. Jun 08, 2015
    • Ludovic Courtès's avatar
      doc: Suggest unpacking the binary tarball in /tmp. · 5dc42964
      Ludovic Courtès authored
      Suggested by Thomas Schwinge <thomas@codesourcery.com> and others.
      
      * doc/guix.texi (Binary Installation): Suggest unpacking in /tmp rather than /.
      5dc42964
    • Ludovic Courtès's avatar
      install: Omit /root from the binary tarball. · 7acd3439
      Ludovic Courtès authored
      Suggested by Thomas Schwinge <thomas@codesourcery.com>.
      
      * gnu/system/install.scm (self-contained-tarball): Remove
        "/root/.guix-profile" from the 'tar' arguments.
      * doc/guix.texi (Binary Installation): Add a step to create
        ~root/.guix-profile.
      7acd3439
    • Ludovic Courtès's avatar
      monads: Allow n-ary '>>=' expressions. · 751630c9
      Ludovic Courtès authored
      Suggested by Federico Beffa <beffa@fbengineering.ch>.
      
      * guix/monads.scm (bind-syntax): New macro.
        (with-monad): Use it instead of 'identifier-syntax'.
      * tests/monads.scm (">>= with more than two arguments"): New test.
      * doc/guix.texi (The Store Monad): Explain that there can be several MPROC.
        Add an example.
      751630c9
  15. Jun 07, 2015
  16. Jun 06, 2015
    • Ludovic Courtès's avatar
      guix gc: Add '--verify'. · 7770aafc
      Ludovic Courtès authored
      * guix/scripts/gc.scm (show-help, %options): Add --verify.
        (guix-gc): Handle it.
      * doc/guix.texi (Invoking guix gc): Document --verify, and move --optimize
        description right below it.
      7770aafc
  17. Jun 05, 2015
  18. Jun 03, 2015
    • Ludovic Courtès's avatar
      gexp: Add 'plain-file'. · 558e8b11
      Ludovic Courtès authored
      * guix/gexp.scm (<plain-file>): New type.
        (plain-file, plain-file-compiler): New procedures.
      * tests/gexp.scm ("one plain file"): New test.
      * doc/guix.texi (G-Expressions): Document 'plain-file'.
      558e8b11
  19. May 29, 2015
    • David Thompson's avatar
      guix environment: Add --ad-hoc option. · a54bd6d7
      David Thompson authored
      * guix/scripts/environment.scm (%options): Add "ad-hoc" option.
        (show-help): Display help for "--ad-hoc".
        (packages+propagated-inputs): New procedure.
        (guix-environment): Create ad hoc environment when asked.
      * doc/guix.texi ("invoking guix environment"): Document it.
      a54bd6d7
  20. May 27, 2015
  21. May 25, 2015
    • Ludovic Courtès's avatar
      guix system: Add '--on-error'. · db030303
      Ludovic Courtès authored
      * guix/ui.scm (load*): Add #:on-error parameter.
        [tag, error-string]: New variables.
        Wrap 'load' call in 'call-with-prompt'.  Pass TAG to 'make-stack'.  Honor
        ON-ERROR after 'report-load-error' call.
        (report-load-error): Change to not exit on error.  Make private.
      * guix/scripts/system.scm (show-help, %options): Add --on-error.
        (guix-system): Use 'load*' and pass it #:on-error.
      db030303
    • Ludovic Courtès's avatar
      doc: Fix inaccurate wording in "operating-system Reference". · fbb25e56
      Ludovic Courtès authored
      * doc/guix.texi (operating-system Reference): Add missing "kernel".
      fbb25e56
    • Ludovic Courtès's avatar
      system: Define '%base-user-accounts'. · bf87f38a
      Ludovic Courtès authored
      * gnu/system/shadow.scm (%base-user-accounts): New variable.
      * gnu/system.scm (<operating-system>)[users]: Use it as the default value.
      * gnu/system/examples/bare-bones.tmpl (users): Use it.
      * gnu/system/examples/desktop.tmpl (users): Likewise.
      * doc/guix.texi (operating-system Reference, User Accounts): Adjust
        accordingly.
      bf87f38a
  22. May 23, 2015
  23. May 22, 2015
Loading