Skip to content
Snippets Groups Projects
  1. Jul 13, 2015
    • Andreas Enge's avatar
      gnu: boost: Update to 1.58.0. · 31e0ed95
      Andreas Enge authored
      * gnu/packages/boost.scm (boost): Update to 1.58.0.
      31e0ed95
    • Ludovic Courtès's avatar
      substitute: Improve functional decomposition. · ef8f910f
      Ludovic Courtès authored
      * guix/scripts/substitute.scm (display-narinfo-data,
        process-query, process-substitution): New procedures.  Code moved from...
        (guix-substitute): ... here.  Use them.
      ef8f910f
    • Ludovic Courtès's avatar
      guix build: Add '--substitute-urls' client option. · f8a8e0fe
      Ludovic Courtès authored
      * guix/scripts/build.scm (%standard-build-options,
        show-build-options-help): Add --substitute-urls=URLS.
        (set-build-options-from-command-line): Honor it.
      * guix/store.scm (%default-substitute-urls): Make public.
      * doc/guix.texi (Substitutes): Add xref to the client --substitute-urls
        option.
        (Invoking guix build): Document it.
        (Invoking guix-daemon): Add 'daemon-substitute-urls' anchor.
      f8a8e0fe
    • Ludovic Courtès's avatar
      substitute: Honor "substitute-urls" option passed by "untrusted" clients. · 24f5aaaf
      Ludovic Courtès authored
      * guix/scripts/substitute.scm (or*): New macro.
        (%cache-url): Honor "untrusted-substitute-urls".
      * guix/tests.scm (%test-substitute-urls): New variable.
        (open-connection-for-tests): Use it.
      * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes",
        "derivation-prerequisites-to-build and substitutes, non-substitutable
        build", "derivation-prerequisites-to-build and substitutes, local build"):
        Pass it to 'set-build-options'.
      * tests/guix-daemon.sh: Likewise.
      * tests/store.scm ("substitute query, alternating URLs"): New test.
        ("substitute query", "substitute", "substitute + build-things with output
        path", "substitute, corrupt output hash", "substitute --fallback"): Pass
        #:substitute-urls to 'set-build-options'.
      24f5aaaf
    • Ludovic Courtès's avatar
      substitute: Store cached narinfo in cache-specific sub-directories. · 895d1eda
      Ludovic Courtès authored
      This ensures that switching between different substitute servers doesn't lead
      to a polluted narinfo cache.
      
      * guix/scripts/substitute.scm (narinfo-cache-file): Add 'cache-url'
        parameter.  Add the base32 of CACHE-URL as a sub-directory under
        %NARINFO-CACHE-DIRECTORY.  Update callers.
        (cached-narinfo): Likewise.  Call 'mkdir-p' on the dirname of the cache
        file.  Update callers.
        (remove-expired-cached-narinfos): Add 'directory' parameter and use it
        instead of %NARINFO-CACHE-DIRECTORY.
        (narinfo-cache-directories): New procedure.
        (maybe-remove-expired-cached-narinfo): Call 'remove-expired-cached-narinfos'
        for each item returned by 'narinfo-cache-directories'.
      895d1eda
    • Ludovic Courtès's avatar
      substitute: Pass the cache URL instead of <cache> objects. · 074efd63
      Ludovic Courtès authored
      * guix/scripts/substitute.scm (<cache>): Rename to...
        (<cache-info>): ... this.
        (open-cache): Rename to...
        (download-cache-info): ... this.  Return a <cache-info> or #f.
        (open-cache*): Remove.
        (cache-narinfo!): Take a URL instead of a <cache> as the first parameter.
        (fetch-narinfos): Likewise.  Call 'download-cache-info'.  Remove use of
        'force'.
        (guix-substitute): Replace calls to 'open-cache*' with %CACHE-URL.
      074efd63
    • Ludovic Courtès's avatar
      substitute: Remove unneeded conditionals. · e4e099fe
      Ludovic Courtès authored
      * guix/scripts/substitute.scm (guix-substitute): Remove unneeded (if cache
        ...) forms since CACHE is always true (it's a promise.)
      e4e099fe
    • Mathieu Lirzin's avatar
      gnu: file-systems: Fix typo. · b57ec5f6
      Mathieu Lirzin authored
      * gnu/system/file-systems.scm (%container-file-systems): Fix typo in a
        comment.
      b57ec5f6
    • Alex Kost's avatar
      guix lint: Remove duplicated module lines. · 663d0733
      Alex Kost authored
      * guix/scripts/lint.scm (guix): Remove duplicated lines for using
        'srfi-34' and 'srfi-35' modules.  These lines were introduced twice by
        commits b210b35d and 002c57c6.
      663d0733
    • David Hashe's avatar
      gnu: Add rhythmbox. · f0afb0c8
      David Hashe authored
      * gnu/packages/gnome.scm (rhythmbox): New variable.
      f0afb0c8
  2. Jul 12, 2015
  3. Jul 11, 2015
  4. Jul 10, 2015
  5. Jul 09, 2015
Loading