;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021-2023 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . ;;; This file returns a manifest that builds a directory containing Disarchive ;;; metadata for all the tarballs packages refer to. (use-modules (srfi srfi-1) (ice-9
aboutsummaryrefslogtreecommitdiff
path: root/po
ModeNameSize
d---------doc633logplain
d---------guix1139logplain
d---------packages842logplain
(#f "anonymous-tarball.dis")) build)) ;; The manifest containing Disarchive data. (let* ((origins (all-origins)) (disarchives (filter-map (lambda (origin) (and (tarball-origin? origin) ;; Dismiss origins with (sha256 #f) such as that of ;; IceCat. (and=> (origin-hash origin) content-hash-value) ;; FIXME: Exclude the Chromium tarball because it's ;; huge and "disarchive disassemble" exceeds the ;; max-silent timeout. (not (string-prefix? "chromium-" (origin-actual-file-name origin))) (manifest-entry (name (string-append (origin-actual-file-name origin) ".dis")) (version "0") (item (origin->disarchive origin))))) origins))) (manifest (cons (manifest-entry (name "disarchive-collection") (version (number->string (length origins))) (item (directory-union "disarchive-collection" (map manifest-entry-item disarchives) #:copy? #t))) ;; Cuirass can distribute derivation builds to build machines if and ;; only if it has one "job" per derivation. Thus, add them here in ;; addition to "disarchive-collection". disarchives)))