aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-02-06gnu: xonsh: Update to 0.5.3....* gnu/packages/shell.scm (xonsh): Update to 0.5.3. Danny Milosavljevic
2017-02-06gnu: u-boot: Update to 2017.01....* gnu/packages/u-boot.scm (u-boot): Update to 2017.01. Danny Milosavljevic
2017-02-06gnu: u-boot: Use scandir....* gnu/packages/u-boot.scm (make-u-boot-package): Modify. Danny Milosavljevic
2017-02-06gnu: imagemagick: Update to 6.9.7-7....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.7-7. Leo Famulari
2017-02-06gnu: wget: Use libidn2....Suggested by Efraim Flashner <efraim@flashner.co.il>. Fixes support for internationalized domain names. * gnu/packages/wget.scm (wget)[inputs]: Replace libidn with libidn2. Leo Famulari
2017-02-06gnu: libidn2: Update to 0.16....* gnu/packages/libidn.scm (libidn2): Update to 0.16. [inputs]: Add libunistring. Leo Famulari
2017-02-05gnu: linux-libre: Update to 4.9.8....* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash) (linux-libre): Update to 4.9.8. Mark H Weaver
2017-02-05gnu: linux-libre@4.4: Update to 4.4.47....* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.47. Mark H Weaver
2017-02-04gnu: youtube-dl: Update to 2017.02.01...* gnu/packages/video.scm (youtube-dl): Update to 2017.02.01. José Miguel Sánchez García
2017-02-04gnu: Add python-lzo....* gnu/packages/compression.scm (python-lzo): New variable. Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org> ng0
2017-02-04gnu: Add python-lz4....* gnu/packages/compression.scm (python-lz4): New variable. ng0
2017-02-04gnu: xscreensaver: Update license URI....* gnu/packages/xdisorg.scm (xscreensaver)[license]: Point to current URL. Marius Bakke
2017-02-04gnu: redshift: Remove uneeded input....This is a followup to b4c400a75c9f432820146dfe24fcebdfbc276e4b. * gnu/packages/xdisorg.scm (redshift): Remove LIBJPEG. Marius Bakke
2017-02-04gnu: wget: Update to 1.19....* gnu/packages/wget.scm (wget): Update to 1.19. [home-page]: Use HTTPS. Marius Bakke
2017-02-04gnu: cddlib: Fix source URI....* gnu/packages/maths.scm (cddlib)[source]: Update source URI. Ben Woodcroft
2017-02-04file-systems: Remove dependency on (guix store)....(gnu system file-systems) is used on the "build" side since commit 5970e8e248f6327c41c83b86bb2c89be7c3b1b4e. * gnu/system/file-systems.scm: Remove dependency on (guix store). (%store-prefix): New procedure. * tests/file-systems.scm ("does not pull (guix config)"): New test. Ludovic Courtès
2017-02-04activation: Set the right owner for home directories....This fixes a regression introduced in ae763b5b0b7d5e7316a3d0efe991fe8ab2261031 whereby home directories and skeletons would be root-owned. * gnu/build/activation.scm (copy-account-skeletons): Make 'directory' a keyword parameter. Add #:uid and #:gid and honor them. [set-owner]: New procedure. (activate-user-home): Add call to 'getpw' and 'chown'. Pass UID and GID to 'copy-account-skeletons'. * gnu/tests/base.scm (run-basic-test)["skeletons in home directories"]: Test file ownership under HOME. Ludovic Courtès
2017-02-04gnu: vim: Update to 8.0.0300....* gnu/packages/vim.scm (vim): Update to 8.0.0300. Tobias Geerinckx-Rice
2017-02-03gnu: abcde: Update to 2.8.1....* gnu/packages/cdrom.scm (abcde): Update to 2.8.1. Efraim Flashner
2017-02-03gnu: p7zip: Fix CVE-2016-9256....* gnu/packages/compression.scm (p7zip)[source]: Add patch. * gnu/packages/patches/p7zip-CVE-2016-9296.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2017-02-03gnu: qemu: Patch CVE-2017-{2615, 5578, 5579, 5856}....* gnu/packages/qemu.scm (qemu)[source]: Add patches. * gnu/packages/patches/qemu-CVE-2017-2615, gnu/packages/patches/qemu-CVE-2017-5578, gnu/packages/patches/qemu-CVE-2017-5579, gnu/packages/patches/qemu-CVE-2017-5856: New files. * gnu/local.mk (dist_patch_DATA): Register them. Efraim Flashner
2017-02-03gnu: Add emacs-mew....* gnu/packages/mail.scm (emacs-mew): New variable. Co-authored-by: Alex Kost <alezost@gmail.com> Thomas Danckaert
2017-02-03gnu: abbaye: Update to 2.0.1....* gnu/packages/games.scm: (abbaye): Update to 2.0.1. [snippet]: Delete the bundled fonts. [arguments]: Adjust 'patch-makefile' phase to patch only Makefile. Add "CC" make flag. [inputs]: Use only required sdl2 packages. [home-page]: Update to the new location. [license]: Use the proper license. Signed-off-by: Alex Kost <alezost@gmail.com> Adonay Felipe Nogueira
2017-02-03gnu: Add r-rann....* gnu/packages/statistics.scm (r-rann): New variable. Signed-off-by: Kei Kebreau <kei@openmailbox.org> Raoul Jean Pierre Bonnal
2017-02-03gnu: Add r-randomforest....* gnu/packages/statistics.scm (r-randomforest): New variable. Signed-off-by: Kei Kebreau <kei@openmailbox.org> Raoul Jean Pierre Bonnal
2017-02-03gnu: git: Update to 2.11.1....* gnu/packages/version-control.scm (git): Update to 2.11.1. Efraim Flashner
2017-02-03gnu: zpaq: Tune for 'generic-armv7-a' on armhf....* gnu/packages/compression.scm (zpaq)[arguments]: Change the CXXFLAGS so on armhf-linux we build with '-mtune=generic-armv7-a' and not '-mtune=generic'. Efraim Flashner
2017-02-03gnu: fish: Update to 2.5.0....* gnu/packages/shells.scm (fish): Update to 2.5.0. [native-inputs]: Add autoconf, automake, and libtool. [arguments]: Add ‘bootstrap’ phase. Tobias Geerinckx-Rice
2017-02-03gnu: linux-libre: Update to 4.9.7....* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash) (linux-libre): Update to 4.9.7. Mark H Weaver
2017-02-03gnu: linux-libre@4.4: Update to 4.4.46....* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.46. Mark H Weaver
2017-02-02gnu: Add no-more-secrets....* gnu/packages/games.scm (no-more-secrets): New variable. Signed-off-by: Eric Bavier <bavier@member.fsf.org> ng0
2017-02-02gnu: thefuck: Fix execution....Follow-up to 4a6b2a21bf36a6d0170d7568073f0a03ef3004f3 * gnu/packages/admin.scm (thefuck): Fix 'inputs' -> 'native-inputs'. Eric Bavier
2017-02-03file-systems: Add 'file-system-mapping->bind-mount'....* gnu/system/file-systems.scm (file-system-mapping->bind-mount): New procedure. * gnu/system/linux-container.scm (mapping->file-system): Remove. (containerized-operating-system)[mapping->fs]: Use 'file-system-mapping->bind-mount' instead of 'mapping->file-system'. * guix/scripts/environment.scm (launch-environment/container): Likewise. Ludovic Courtès
2017-02-03gnu: guile-json: Texinfoify description....* gnu/packages/guile.scm (guile-json)[description]: Use Texinfo markup. Ludovic Courtès
2017-02-02gnu: gst-plugins-base: Fix build on 32bit....* gnu/packages/patches/gst-plugins-base-fix-test-on-32bit.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gstreamer.scm (gst-plugins-base)[source]: Use it. Marius Bakke
2017-02-02build: r-build-system: Use deterministic built date....Fixes <http://bugs.gnu.org/25598>. * guix/build/r-build-system.scm (install): Pass "--built-timestamp" option to make build deterministic. Ricardo Wurmus
2017-02-02gnu: icedtea-8: Update to 3.3.0 [security fixes]....Fixes CVE-2016-{2183,5546,5547,5548,5549,5552} and CVE-2017-{3231,3241,3252,3253,3260,3261,3272,3289}. * gnu/packages/java.scm (icedtea-8): Update to 3.3.0. Leo Famulari
2017-02-02gnu: emacs-with-editor: Update to 2.5.10....* gnu/packages/emacs.scm (emacs-with-editor): Update to 2.5.10. Alex Kost
2017-02-02gnu: giac-xcas: Update to 1.2.3-19....* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.3-19. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Nicolas Goaziou
2017-02-02services: cuirass: Add load-path to cuirass configuration...* gnu/services/cuirass.scm (<cuirass-configuration>): Add load-path field. (cuirass-shepherd-service): Honor it. * doc/guix.texi (Continuous Integration): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe
2017-02-02gnu: cuirass: Update to 0.0.1 revision 4....* gnu/packages/ci.scm (cuirass): Update to 0.0.1 revision 4. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Othacehe
2017-02-01gnu: joe: remove reference to WordStar....* gnu/packages/text-editors.scm (joe)[description]: Remove WordStar reference. Eric Bavier
2017-02-01gnu: reducelcs: Fix license....* gnu/packages/maths.scm (reducelcs)[license]: Change to GPL3+. Signed-off-by: Kei Kebreau <kei@openmailbox.org> ng0
2017-02-01gnu: httpd: Update to 2.4.25 [fixes CVE-2016-{0736,2161,5387,8743}]....* gnu/packages/web.scm (httpd): Update to 2.4.25. [source]: Remove obsolete patch 'httpd-CVE-2016-8740.patch'. * gnu/packages/patches/httpd-CVE-2016-8740.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Leo Famulari
2017-02-01gnu: acme-client: Update to 0.1.16....* gnu/packages/tls.scm (acme-client): Update to 0.1.16. Leo Famulari
2017-02-01gnu: magit: Update to 2.10.1....* gnu/packages/emacs.scm (magit): Update to 2.10.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Clément Lassieur
2017-02-01doc: Discuss encrypted swap space....* doc/guix.texi (Preparing for Installation): Provide an example of how to set up (encrypted) swap space using a swap file. (operating-system Reference)[swap-devices]: Clarify that swap files are supported, too. (Mapped Devices): Explain how to use a mapped device with a swap file to encrypt swap space. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich
2017-02-01doc: Clarify that 'guix pull' can't be easily rolled back....* doc/guix.texi (Invoking guix pull): Clarify that 'guix pull' can't be easily rolled back. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chris Marusich
2017-02-01download: Add GNOME mirror....* guix/download.scm (%mirrors): Add "https://download.gnome.org". Ludovic Courtès
2017-02-01gnu: Add polkit-gnome....* gnu/packages/polkit.scm (polkit-gnome): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Huang Ying
mpressor self-contained-tarball)) #:use-module (gnu bootloader) #:use-module (gnu bootloader u-boot) #:use-module (gnu image) #:use-module (gnu packages) #:use-module (gnu packages gcc) #:use-module (gnu packages base) #:use-module (gnu packages gawk) #:use-module (gnu packages guile) #:use-module (gnu packages gettext) #:use-module (gnu packages compression) #:use-module (gnu packages multiprecision) #:use-module (gnu packages make-bootstrap) #:use-module (gnu packages package-management) #:use-module (guix platform) #:use-module (gnu system) #:use-module (gnu system image) #:use-module (gnu system vm) #:use-module (gnu system install) #:use-module (gnu system images hurd) #:use-module (gnu system images novena) #:use-module (gnu system images pine64) #:use-module (gnu system images pinebook-pro) #:use-module (gnu tests) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match) #:export (derivation->job image->job %core-packages arguments->systems cuirass-jobs)) ;;; Commentary: ;;; ;;; This file defines build jobs for Cuirass. ;;; ;;; Code: (define* (derivation->job name drv #:key (max-silent-time 3600) (timeout (* 5 3600))) "Return a Cuirass job called NAME and describing DRV. MAX-SILENT-TIME and TIMEOUT are build options passed to the daemon when building the derivation." `((#:job-name . ,name) (#:derivation . ,(derivation-file-name drv)) (#:inputs . ,(map (compose derivation-file-name derivation-input-derivation) (derivation-inputs drv))) (#:outputs . ,(filter-map (lambda (res) (match res ((name . path) `(,name . ,path)))) (derivation->output-paths drv))) (#:nix-name . ,(derivation-name drv)) (#:system . ,(derivation-system drv)) (#:max-silent-time . ,max-silent-time) (#:timeout . ,timeout))) (define* (package-job store job-name package system #:key cross? target (suffix "")) "Return a job called JOB-NAME that builds PACKAGE on SYSTEM." (let ((job-name (string-append job-name "." system suffix))) (parameterize ((%graft? #f)) (let* ((drv (if cross? (package-cross-derivation store package target system #:graft? #f) (package-derivation store package system #:graft? #f))) (max-silent-time (or (assoc-ref (package-properties package) 'max-silent-time) 3600)) (timeout (or (assoc-ref (package-properties package) 'timeout) 72000))) (derivation->job job-name drv #:max-silent-time max-silent-time #:timeout timeout))))) (define (package-cross-job store job-name package target system) "Return a job called TARGET.JOB-NAME that cross-builds PACKAGE for TARGET on SYSTEM." (let ((name (string-append target "." job-name))) (package-job store name package system #:cross? #t #:target target))) (define %core-packages ;; Note: Don't put the '-final' package variants because (1) that's ;; implicit, and (2) they cannot be cross-built (due to the explicit input ;; chain.) (list gcc-8 gcc-9 gcc-10 gcc-11 glibc binutils gmp mpfr mpc coreutils findutils diffutils patch sed grep gawk gnu-gettext hello guile-2.2 guile-3.0 zlib gzip xz guix %bootstrap-binaries-tarball %binutils-bootstrap-tarball (%glibc-bootstrap-tarball) %gcc-bootstrap-tarball %guile-bootstrap-tarball %bootstrap-tarballs)) (define (commencement-packages system) "Return the list of bootstrap packages from the commencement module for SYSTEM." ;; Only include packages supported on SYSTEM. For example, the Mes ;; bootstrap graph is currently not supported on ARM so it should be ;; excluded. (filter (lambda (obj) (and (package? obj) (supported-package? obj system))) (module-map (lambda (sym var) (variable-ref var)) (resolve-module '(gnu packages commencement))))) (define (packages-to-cross-build target) "Return the list of packages to cross-build for TARGET." ;; Don't cross-build the bootstrap tarballs for MinGW. (if (string-contains target "mingw") (drop-right %core-packages 6) %core-packages)) (define (cross-jobs store system) "Return a list of cross-compilation jobs for SYSTEM." (define (from-32-to-64? target) ;; Return true if SYSTEM is 32-bit and TARGET is 64-bit. This hack ;; prevents known-to-fail cross-builds from i686-linux or armhf-linux to ;; mips64el-linux-gnuabi64. (and (or (string-prefix? "i686-" system) (string-prefix? "i586-" system) (string-prefix? "armhf-" system)) (string-contains target "64"))) ;x86_64, mips64el, aarch64, etc. (define (same? target) ;; Return true if SYSTEM and TARGET are the same thing. This is so we ;; don't try to cross-compile to 'mips64el-linux-gnu' from ;; 'mips64el-linux'. (or (string-contains target system) (and (string-prefix? "armhf" system) ;armhf-linux (string-prefix? "arm" target)))) ;arm-linux-gnueabihf (define (pointless? target) ;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM. (match system ((or "x86_64-linux" "i686-linux") (if (string-contains target "mingw") (not (string=? "x86_64-linux" system)) #f)) (_ ;; Don't try to cross-compile from non-Intel platforms: this isn't ;; very useful and these are often brittle configurations. #t))) (define (either proc1 proc2 proc3) (lambda (x) (or (proc1 x) (proc2 x) (proc3 x)))) (append-map (lambda (target) (map (lambda (package) (package-cross-job store (job-name package) package target system)) (packages-to-cross-build target))) (remove (either from-32-to-64? same? pointless?) (targets)))) (define* (guix-jobs store systems #:key source commit) "Return a list of jobs for Guix itself." (define build (primitive-load (string-append source "/build-aux/build-self.scm"))) (map (lambda (system) (let ((name (string->symbol (string-append "guix." system))) (drv (run-with-store store (build source #:version commit #:system system #:pull-version 1 #:guile-version "2.2")))) (derivation->job name drv))) systems)) ;; Architectures that are able to build or cross-build Guix System images. ;; This does not mean that other architectures are not supported, only that ;; they are often not fast enough to support Guix System images building. (define %guix-system-supported-systems '("x86_64-linux" "i686-linux")) (define %guix-system-images (list hurd-barebones-qcow2-image pine64-barebones-raw-image pinebook-pro-barebones-raw-image novena-barebones-raw-image)) (define (hours hours) (* 3600 hours)) (define* (image->job store image #:key name system) "Return the job for IMAGE on SYSTEM. If NAME is passed, use it as job name, otherwise use the IMAGE name." (let* ((image-name (or name (symbol->string (image-name image)))) (name (string-append image-name "." system)) (drv (run-with-store store (mbegin %store-monad (set-guile-for-build (default-guile)) (lower-object (system-image image)))))) (parameterize ((%graft? #f)) (derivation->job name drv)))) (define (image-jobs store system) "Return a list of jobs that build images for SYSTEM." (define MiB (expt 2 20)) (if (member system %guix-system-supported-systems) `(,(image->job store (image (inherit efi-disk-image) (operating-system installation-os)) #:name "usb-image" #:system system) ,(image->job store (image (inherit (image-with-label iso9660-image (string-append "GUIX_" system "_" (if (> (string-length %guix-version) 7) (substring %guix-version 0 7) %guix-version)))) (operating-system installation-os)) #:name "iso9660-image" #:system system) ;; Only cross-compile Guix System images from x86_64-linux for now. ,@(if (string=? system "x86_64-linux") (map (cut image->job store <> #:system system) %guix-system-images) '())) '())) (define* (system-test-jobs store system #:key source commit) "Return a list of jobs for the system tests." (define (->job test) (let ((name (string-append "test." (system-test-name test) "." system)) (drv (run-with-store store (mbegin %store-monad (set-current-system system) (set-grafting #f) (set-guile-for-build (default-guile)) (system-test-value test))))) (derivation->job name drv))) (if (member system %guix-system-supported-systems) ;; Override the value of 'current-guix' used by system tests. Using a ;; channel instance makes tests that rely on 'current-guix' less ;; expensive. It also makes sure we get a valid Guix package when this ;; code is not running from a checkout. (parameterize ((current-guix-package (channel-source->package source #:commit commit))) (map ->job (all-system-tests))) '())) (define (tarball-jobs store system) "Return jobs to build the self-contained Guix binary tarball." (define (->job name drv) (let ((name (string-append name "." system))) (parameterize ((%graft? #f)) (derivation->job name drv)))) ;; XXX: Add a job for the stable Guix? (list (->job "binary-tarball" (run-with-store store (mbegin %store-monad (set-guile-for-build (default-guile)) (>>= (profile-derivation (packages->manifest (list guix))) (lambda (profile) (self-contained-tarball "guix-binary" profile #:profile-name "current-guix" #:localstatedir? #t #:compressor (lookup-compressor "xz"))))) #:system system)))) (define job-name ;; Return the name of a package's job. package-name) (define package->job (let ((base-packages (delete-duplicates (append-map (match-lambda ((_ package _ ...) (match (package-transitive-inputs package) (((_ inputs _ ...) ...) inputs)))) (%final-inputs))))) (lambda* (store package system #:key (suffix "")) "Return a job for PACKAGE on SYSTEM, or #f if this combination is not valid. Append SUFFIX to the job name." (cond ((member package base-packages) (package-job store (string-append "base." (job-name package)) package system #:suffix suffix)) ((supported-package? package system) (let ((drv (package-derivation store package system #:graft? #f))) (and (substitutable-derivation? drv) (package-job store (job-name package) package system #:suffix suffix)))) (else #f))))) (define %x86-64-micro-architectures ;; Micro-architectures for which we build tuned variants. '("westmere" "ivybridge" "haswell" "skylake" "skylake-avx512")) (define (tuned-package-jobs store package system) "Return a list of jobs for PACKAGE tuned for SYSTEM's micro-architectures." (filter-map (lambda (micro-architecture) (define suffix (string-append "." micro-architecture)) (package->job store (tuned-package package micro-architecture) system #:suffix suffix)) (match system ("x86_64-linux" %x86-64-micro-architectures) (_ '())))) (define (all-packages) "Return the list of packages to build." (define (adjust package result) (cond ((package-replacement package) ;; XXX: If PACKAGE and its replacement have the same name/version, ;; then both Cuirass jobs will have the same name, which ;; effectively means that the second one will be ignored. Thus, ;; return the replacement first. (cons* (package-replacement package) ;build both package result)) ((package-superseded package) result) ;don't build it (else (cons package result)))) (fold-packages adjust (fold adjust '() ;include base packages (match (%final-inputs) (((labels packages _ ...) ...) packages))) #:select? (const #t))) ;include hidden packages (define (arguments->manifests arguments channels) "Return the list of manifests extracted from ARGUMENTS." (map (lambda (manifest) (any (lambda (checkout) (let ((path (in-vicinity checkout manifest))) (and (file-exists? path) path))) (map channel-url channels))) arguments)) (define (manifests->jobs store manifests) "Return the list of jobs for the entries in MANIFESTS, a list of file names." (define (load-manifest manifest) (save-module-excursion (lambda () (set-current-module (make-user-module '((guix profiles) (gnu)))) (primitive-load manifest)))) (define (manifest-entry-job-name entry) (string-append (manifest-entry-name entry) "-" (manifest-entry-version entry))) (define (manifest-entry->job entry) (let* ((obj (manifest-entry-item entry)) (drv (parameterize ((%graft? #f)) (run-with-store store (lower-object obj)))) (max-silent-time (or (and (package? obj) (assoc-ref (package-properties obj) 'max-silent-time)) 3600)) (timeout (or (and (package? obj) (assoc-ref (package-properties obj) 'timeout)) (* 5 3600)))) (derivation->job (manifest-entry-job-name entry) drv #:max-silent-time max-silent-time #:timeout timeout))) (map manifest-entry->job (delete-duplicates (append-map (compose manifest-entries load-manifest) manifests) manifest-entry=?))) (define (arguments->systems arguments) "Return the systems list from ARGUMENTS." (match (assoc-ref arguments 'systems) (#f %cuirass-supported-systems) ((lst ...) lst) ((? string? str) (call-with-input-string str read)))) ;;; ;;; Cuirass entry point. ;;; (define (cuirass-jobs store arguments) "Register Cuirass jobs." (define subset (assoc-ref arguments 'subset)) (define systems (arguments->systems arguments)) (define channels (let ((channels (assq-ref arguments 'channels))) (map sexp->channel channels))) (define guix (find guix-channel? channels)) (define commit (channel-commit guix)) (define source (channel-url guix)) ;; Turn off grafts. Grafting is meant to happen on the user's machines. (parameterize ((%graft? #f)) ;; Return one job for each package, except bootstrap packages. (append-map (lambda (system) (format (current-error-port) "evaluating for '~a' (heap size: ~a MiB)...~%" system (round (/ (assoc-ref (gc-stats) 'heap-size) (expt 2. 20)))) (invalidate-derivation-caches!) (match subset ('all ;; Build everything, including replacements. (let ((all (all-packages)) (jobs (lambda (package) (match (package->job store package system) (#f '()) (main-job (cons main-job (if (tunable-package? package) (tuned-package-jobs store package system) '()))))))) (append (append-map jobs all) (cross-jobs store system)))) ('core ;; Build core packages only. (append (map (lambda (package) (package-job store (job-name package) package system)) (append (commencement-packages system) %core-packages)) (cross-jobs store system))) ('guix ;; Build Guix modules only. (guix-jobs store systems #:source source #:commit commit)) ('hello ;; Build hello package only. (let ((hello (specification->package "hello"))) (list (package-job store (job-name hello) hello system)))) ('images ;; Build Guix System images only. (image-jobs store system)) ('system-tests ;; Build Guix System tests only. (system-test-jobs store system #:source source #:commit commit)) ('tarball ;; Build Guix tarball only. (tarball-jobs store system)) (('custom . modules) ;; Build custom modules jobs only. (append-map (lambda (module) (let ((proc (module-ref (resolve-interface module) 'cuirass-jobs))) (proc store arguments))) modules)) (('channels . channels) ;; Build only the packages from CHANNELS. (let ((all (all-packages))) (filter-map (lambda (package) (any (lambda (channel) (and (member (channel-name channel) channels) (package->job store package system))) (package-channels package))) all))) (('packages . rest) ;; Build selected list of packages only. (let ((packages (map specification->package rest))) (map (lambda (package) (package-job store (job-name package) package system)) packages))) (('manifests . rest) ;; Build packages in the list of manifests. (let ((manifests (arguments->manifests rest channels))) (manifests->jobs store manifests))) (else (error "unknown subset" subset)))) systems)))