Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    71e2065a
    substitute: Honor client-provided empty URL list. · 71e2065a
    Ludovic Courtès authored
    Before that, 'guix build --substitute-urls=""' would lead to using the
    daemon's own URL list instead of the empty list.  The 'or*' hack, which
    is to blame, had become unnecessary since commit
    fb4bf72b.
    
    Reported by Mark H Weaver <mhw@netris.org>.
    
    * guix/scripts/substitute.scm (or*): Remove.
    (%cache-urls): Use 'or' instead of 'or*'.
    * tests/store.scm ("substitute query, alternating URLs"): Add test with
    empty URL list.
    * doc/guix.texi (Common Build Options): Mention the empty string.
    71e2065a
    History
    substitute: Honor client-provided empty URL list.
    Ludovic Courtès authored
    Before that, 'guix build --substitute-urls=""' would lead to using the
    daemon's own URL list instead of the empty list.  The 'or*' hack, which
    is to blame, had become unnecessary since commit
    fb4bf72b.
    
    Reported by Mark H Weaver <mhw@netris.org>.
    
    * guix/scripts/substitute.scm (or*): Remove.
    (%cache-urls): Use 'or' instead of 'or*'.
    * tests/store.scm ("substitute query, alternating URLs"): Add test with
    empty URL list.
    * doc/guix.texi (Common Build Options): Mention the empty string.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.