Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    57bdd79e
    grafts: Allow the replacement to have a different name. · 57bdd79e
    Ludovic Courtès authored
    * guix/build/graft.scm (replace-store-references): REPLACEMENT is now
    the full string, not just the hash.
    (rewrite-directory)[hash-mapping](valid-suffix?): Remove.
    (hash+suffix): Rename to...
    (hash+rest): ... this.  Change to return the whole string as the second
    element of the list.  Adjust 'match-lambda' expression accordingly;
    check whether the string length of the origin and replacement match.
    * tests/grafts.scm ("graft-derivation, grafted item uses a different
    name"): New test.
    * doc/guix.texi (Security Updates): Update sentence on the name/version
    restriction.
    57bdd79e
    History
    grafts: Allow the replacement to have a different name.
    Ludovic Courtès authored
    * guix/build/graft.scm (replace-store-references): REPLACEMENT is now
    the full string, not just the hash.
    (rewrite-directory)[hash-mapping](valid-suffix?): Remove.
    (hash+suffix): Rename to...
    (hash+rest): ... this.  Change to return the whole string as the second
    element of the list.  Adjust 'match-lambda' expression accordingly;
    check whether the string length of the origin and replacement match.
    * tests/grafts.scm ("graft-derivation, grafted item uses a different
    name"): New test.
    * doc/guix.texi (Security Updates): Update sentence on the name/version
    restriction.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.