~ruther/guix-local

ab63e29e90aba4f10d477e76587d687a7bb6a27d — Rutherther 2 months ago e2857e2
installer: Drop uri from provenance log.

To synchronize the artifacts made from Cuirass, pre-inst-env
and time-machine, drop the url from provenance sexp.

* gnu/installer.scm (provenance-sexp): Drop url.

Change-Id: Ibe2515abdc92853ce06c0381dd03cc61b2077335
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 4 insertions(+), 5 deletions(-)

M gnu/installer.scm
M gnu/installer.scm => gnu/installer.scm +4 -5
@@ 367,11 367,10 @@ purposes."
     'unknown)
    ((channels ...)
     (map (lambda (channel)
            (let* ((uri (string->uri (channel-url channel)))
                   (url (if (or (not uri) (eq? 'file (uri-scheme uri)))
                            "local checkout"
                            (channel-url channel))))
             `(channel ,(channel-name channel) ,url ,(channel-commit channel))))
            ;; NOTE: URL is not logged to synchronize the derivations
            ;; coming out of pre-inst-env, time-machine and Cuirass
            ;; for generating release artifacts.
            `(channel ,(channel-name channel) ,(channel-commit channel)))
          channels))))

(define* (installer-program #:key dry-run? (guix-for-installer (current-guix)))