Skip to content
Snippets Groups Projects
  1. Dec 15, 2015
  2. Dec 14, 2015
    • Ludovic Courtès's avatar
      gexp: 'local-file' resolves relative file names. · 9d3994f7
      Ludovic Courtès authored
      * guix/gexp.scm (<local-file>): Rename constructor to '%%local-file'.
      Add 'absolute' field.
      (%local-file, extract-directory, absolute-file-name): New procedures.
      (current-source-directory): New macro.
      (local-file): Adjust call to '%local-file'.
      (local-file-absolute-file-name): New procedure.
      (local-file-compiler): Force the 'absolute' field.
      * tests/guix-system.sh: Test whether 'local-file' canonicalization
      works.
      * doc/guix.texi (G-Expressions): Adjust.
      9d3994f7
  3. Dec 13, 2015
  4. Dec 09, 2015
    • Eelco Dolstra's avatar
      daemon: Use deterministic $TMPDIR in chroot. · cb960102
      Eelco Dolstra authored
      
      Rather than using $<host-TMPDIR>/nix-build-<drvname>-<number>, the
      temporary directory is now always /tmp/nix-build-<drvname>-0. This
      improves bitwise-exact reproducibility for builds that store $TMPDIR
      in their build output. (Of course, those should still be fixed...)
      
      * nix/libstore/build.cc (DerivationGoal)[tmpDirInSandbox]: New field.
      (DerivationGoal::startBuilder): Initialize 'useChroot' earlier.  Compute
      'tmpDirInSandbox', and use it when populating 'dirsInChroot'.
      * doc/guix.texi (Build Environment Setup): Document it.
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      cb960102
    • Ludovic Courtès's avatar
      guix build: Add '--check'. · a8d65643
      Ludovic Courtès authored
      * guix/derivations.scm (build-derivations): Add optional 'mode'
      parameter.
      * guix/scripts/build.scm (%default-options): Add 'build-mode'.
      (show-help, %options): Add '--check'.
      (guix-build): Honor 'build-mode' key of OPTS.  Pass it to
      'show-what-to-build' and 'build-derivations'.
      * doc/guix.texi (Invoking guix build): Document it.
      (Substitutes): Mention it.
      a8d65643
  5. Dec 08, 2015
    • Ludovic Courtès's avatar
      guix build: Add '--rounds'. · 5b74fe06
      Ludovic Courtès authored
      * guix/scripts/build.scm (show-build-options-help)
      (%standard-build-options): Add --rounds.
      (set-build-options-from-command-line): Honor it.
      * doc/guix.texi (Invoking guix build): Document it.
      * doc/contributing.texi (Submitting Patches): Mention it.
      5b74fe06
  6. Dec 07, 2015
    • Ludovic Courtès's avatar
      gnu-maintenance: Add GNOME updater. · e80c0f85
      Ludovic Courtès authored
      * guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Remove glib.
      (false-if-ftp-error): New macro.
      (latest-release*): Use it.
      (non-emacs-gnu-package?): Rename to...
      (pure-gnu-package?): ... this.  Add call to 'gnome-package?'.
      (%gnu-updater): Adjust accordingly.
      (gnome-package?, latest-gnome-release): New procedures.
      (%gnome-updater): New variable.
      * guix/scripts/refresh.scm (%updaters): Add %GNOME-UPDATER.
      * doc/guix.texi (Invoking guix refresh): Mention it.
      e80c0f85
    • Ludovic Courtès's avatar
      doc: 'guix environment --container' does not create '/env'. · 56b6befb
      Ludovic Courtès authored
      * doc/guix.texi (Invoking guix environment): Remove outdated mention of
      '/env' for '--container'.
      56b6befb
  7. Nov 28, 2015
  8. Nov 27, 2015
    • Ludovic Courtès's avatar
      services: tor: Store private data under /var/lib/tor. · 6629099a
      Ludovic Courtès authored
      * gnu/services/networking.scm (tor-configuration->torrc): Add
      'DataDirectory' clause.  Change 'HiddenServiceDir' to
      /var/lib/tor/hidden-services/NAME.
      (tor-hidden-service-activation): Create /var/lib/tor.
      (tor-hidden-service): Adjust docstring.
      * doc/guix.texi (Networking Services): Adjust accordingly.
      6629099a
    • Ludovic Courtès's avatar
      services: Add 'tor-hidden-service'. · 6331bde7
      Ludovic Courtès authored
      * gnu/services/networking.scm (<tor-configuration>, <hidden-service>):
      New record types.
      (tor-configuration->torrc): New procedure.
      (tor-dmd-service): Use it.
      (tor-hidden-service-activation): New procedure.
      (tor-service-type)[extensions]: Extend ACTIVATION-SERVICE-TYPE.
      [compose, extend]: New fields.
      (tor-service): Use 'tor-configuration'.
      (tor-hidden-service-type): New variable.
      (tor-hidden-service): New procedure.
      6331bde7
  9. Nov 26, 2015
  10. Nov 25, 2015
    • Ludovic Courtès's avatar
      doc: Remove mention of monadic services. · 31771497
      Ludovic Courtès authored
      * doc/guix.texi (Base Services): Remove mention of a list of monadic
      services.
      31771497
    • Ludovic Courtès's avatar
      services: dmd: Add 'modules' and 'imported-modules' fields. · fae685b9
      Ludovic Courtès authored
      * gnu/services/dmd.scm (%default-imported-modules, %default-modules):
      New variables.
      * gnu/services/dmd.scm (<dmd-service>)[modules, imported-modules]: New
      field.
      * gnu/services/dmd.scm (dmd-service-file-name, dmd-service-file): New
      procedures.
      (dmd-configuration-file)[modules]: Compute based on the
      'imported-modules' field of SERVICES.
      (dmd-configuration-file): Remove 'use-modules' form.  Use
      'dmd-service-file', and call 'primitive-load' on each file.
      * doc/guix.texi (dmd Services): Document the new fields.
      fae685b9
  11. Nov 23, 2015
    • Ludovic Courtès's avatar
      graph: Add '%bag-with-origins-node-type'. · 38b92daa
      Ludovic Courtès authored
      * guix/scripts/graph.scm (bag-node-edges): Remove 'filter' call.  Add
      case for 'origin'.
      (%bag-node-type)[edges]: Add filtering here.
      (%bag-with-origins-node-type): New variable.
      (%node-types): Add it.
      * tests/graph.scm ("bag DAG, including origins"): New test.
      * tests/guix-graph.sh: Add 'bag-with-origins'.
      * doc/guix.texi (Invoking guix graph): Document it.
      38b92daa
    • Ludovic Courtès's avatar
      doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'. · 961d0d2d
      Ludovic Courtès authored
      Suggested by rgrau on #guix.
      
      * doc/guix.texi (Invoking guix import): Document 'NIX_REMOTE'.
      961d0d2d
    • Ludovic Courtès's avatar
      refresh: Add '--expression'. · 2d7fc7da
      Ludovic Courtès authored
      * guix/scripts/refresh.scm (%options, show-help): Add --expression.
      (guix-refresh): Honor it.
      * doc/guix.texi (Invoking guix refresh): Document it.
      2d7fc7da
  12. Nov 19, 2015
  13. Nov 11, 2015
    • Ludovic Courtès's avatar
      edit: Honor $VISUAL. · 6237b9fa
      Ludovic Courtès authored
      Suggested by Andreas Enge <andreas@enge.fr>.
      
      * guix/scripts/edit.scm (%editor): Honor 'VISUAL' before 'EDITOR'.
        (show-help): Adjust accordingly.
      * doc/guix.texi (Invoking guix edit): Likewise.
      6237b9fa
  14. Nov 10, 2015
    • Ludovic Courtès's avatar
      guix package: '--search-paths' can report combined search paths. · fc2d2339
      Ludovic Courtès authored
      Partly fixes <http://bugs.gnu.org/20255>.
      
      * guix/scripts/package.scm (search-path-environment-variables): Change
        'profile' to 'profiles'; expect it to be a list.
        (display-search-paths): Likewise.
        (%default-options): Remove 'profile' entry.
        (%options) <--profile>: Keep previous values associated with 'profile'
        in RESULT.
        (guix-package)[process-actions, process-query]: Handle the possible
        lack of 'profile' pair in OPTS.
      fc2d2339
  15. Nov 07, 2015
  16. Nov 06, 2015
  17. Nov 04, 2015
  18. Nov 03, 2015
  19. Nov 02, 2015
    • Ludovic Courtès's avatar
      services: avahi: Add Avahi to the system profile. · 1065bed9
      Ludovic Courtès authored
      * gnu/services/avahi.scm (avahi-service-type): Extend
        PROFILE-SERVICE-TYPE.
        (avahi-service): Adjust docstring.
      * doc/guix.texi (Networking Services): Adjust accordingly.
      * gnu/system/examples/desktop.tmpl (packages): Remove AVAHI.
      1065bed9
    • Ludovic Courtès's avatar
      services: wicd: Add Wicd to the system profile. · 87f40011
      Ludovic Courtès authored
      * gnu/services/networking.scm (wicd-service-type): Extend
        PROFILE-SERVICE-TYPE.
        (wicd-service): Mention it in docstring.
      * doc/guix.texi (Networking Services): Update documentation
        accordingly.
      * gnu/system/examples/desktop.tmpl (packages): Remove WICD.
      87f40011
    • Ludovic Courtès's avatar
      services: Add 'profile-service-type'. · af4c3fd5
      Ludovic Courtès authored
      * gnu/services.scm (packages->profile-entry): New procedure.
        (profile-service-type): New variable.
      * gnu/system.scm (operating-system-directory-base-entries): Remove
        the "profile" entry.
        (essential-services): Add a PROFILE-SERVICE-TYPE instance.
        (operating-system-profile): Rewrite in terms of 'fold-services'.
      * doc/guix.texi (Service Reference): Add 'profile-service-type'.
      * doc/images/service-graph.dot: Likewise.
      af4c3fd5
    • Ludovic Courtès's avatar
      services: Add 'system-service-type'. · d62e201c
      Ludovic Courtès authored
      * gnu/services.scm (system-derivation): New procedure.
        (system-service-type): New variable.
        (boot-script-entry): New procedure.
        (boot-service-type): Extend SYSTEM-SERVICE-TYPE.
        (etc-entry): New procedure.
        (etc-service-type): Extend SYSTEM-SERVICE-TYPE.
        (fold-services): Change default #:target-type to SYSTEM-SERVICE-TYPE.
      * gnu/system.scm (operating-system-directory-base-entries): New procedure.
        (essential-services): Use it.  Add an instance of
        SYSTEM-SERVICE-TYPE.
        (operating-system-boot-script): Pass #:target-type to 'fold-services'.
        (operating-system-derivation): Rewrite in terms of 'fold-services'.
      * gnu/system/linux-container.scm (system-container): Remove.
        (container-script): Use 'operating-system-derivation'.
      * guix/scripts/system.scm (export-extension-graph): Replace
        BOOT-SERVICE-TYPE by SYSTEM-SERVICE-TYPE.
      * doc/images/service-graph.dot: Add 'system' node and edges.
      * doc/guix.texi (Service Composition): Mention SYSTEM-SERVICE-TYPE.
        (Service Reference): Document it.  Update 'fold-services'
        documentation.
      d62e201c
    • Alex Kost's avatar
      doc: Fix typos. · 5c2b2f00
      Alex Kost authored
      * doc/guix.texi (Invoking guix environment): Fix typos.
      5c2b2f00
    • Alex Kost's avatar
      doc: Fix typo. · 46c36586
      Alex Kost authored
      * doc/guix.texi (Invoking guix container): Fix typo.
      46c36586
Loading