;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2016, 2017 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 . (define-module (build-self) #:use-module (gnu) #:use-module (guix) #:use-module (guix config) #:use-module (srfi srfi-1) #:use-module (srfi srfi-19) #:use-module (ice-9 match) #:export (build)) ;;; Commentary: ;;; ;;; When loaded, this module returns a monadic
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2024-07-02 17:06:42 +0200
committerAndreas Enge <andreas@enge.fr>2024-09-18 11:21:06 +0200
commit1c088531cf0be8fe6706c4624a920fca2ab2fee0 (patch)
tree83bae2daf7540dc7b1ddcb1111dda2826eab4b2a /gnu/packages/iso-codes.scm
parentfb8c4916be554ddf55e21508922d9b398a584f8a (diff)
downloadguix-1c088531cf0be8fe6706c4624a920fca2ab2fee0.tar.gz
guix-1c088531cf0be8fe6706c4624a920fca2ab2fee0.zip
services: guix-build-coordinator-agent: Add extra-options.
* gnu/services/guix.scm (<guix-build-coordinator-agent-configuration>): Add field extra-options. (guix-build-coordinator-agent-shepherd-services): Add and use EXTRA-OPTIONS argument. * doc/guix.texi (Guix Services): Adapt the documentation. Change-Id: I9e7e258e03e2b6553aa1570f5fcfaf3b0ada3e15 Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
Diffstat (limited to 'gnu/packages/iso-codes.scm')
0 files changed, 0 insertions, 0 deletions
#$(effective-version)) tail) tail))) ((_) '())))) (set! %load-path (append (maybe-load-path #$guile-json #$guile-ssh #$guile-git #$guile-bytestructures) %load-path))) (letrec-syntax ((maybe-load-compiled-path (syntax-rules () ((_ item rest ...) (let ((tail (maybe-load-compiled-path rest ...))) (if (string? item) (cons (string-append item "/lib/guile/" #$(effective-version) "/site-ccache") tail) tail))) ((_) '())))) (set! %load-compiled-path (append (maybe-load-compiled-path #$guile-json #$guile-ssh #$guile-git #$guile-bytestructures) %load-compiled-path))) ;; XXX: The 'guile-ssh' package prior to Guix commit 92b7258 was ;; broken: libguile-ssh could not be found. Work around that. ;; FIXME: We want Guile-SSH 0.10.2 or later anyway. #$(if (string-prefix? "0.9." (package-version guile-ssh)) #~(setenv "LTDL_LIBRARY_PATH" (string-append #$guile-ssh "/lib")) #t) (build-guix #$output #$source #:system #$%system #:storedir #$storedir #:localstatedir #$localstatedir #:sysconfdir #$sysconfdir #:sbindir #$sbindir #:package-name #$%guix-package-name #:package-version #$version #:bug-report-address #$%guix-bug-report-address #:home-page-url #$%guix-home-page-url #:libgcrypt #$libgcrypt #:zlib #$zlib #:gzip #$gzip #:bzip2 #$bzip2 #:xz #$xz ;; XXX: This is not perfect, enabling VERBOSE? means ;; building a different derivation. #:debug-port (if #$verbose? (current-error-port) (%make-void-port "w"))))) (unless guile-git ;; XXX: Guix before February 2017 lacks a 'guile-git' package altogether. ;; If we try to upgrade anyway, the logic in (guix scripts pull) will not ;; build (guix git), which will leave us with an unusable 'guix pull'. To ;; avoid that, fail early. (format (current-error-port) "\ Your installation is too old and lacks a '~a' package. Please upgrade to an intermediate version first, for instance with: guix pull --url=https://git.savannah.gnu.org/cgit/guix.git/snapshot/v0.13.0.tar.gz \n" (match (effective-version) ("2.0" "guile2.0-git") (_ "guile-git"))) (exit 1)) (mlet %store-monad ((guile (guile-for-build))) (gexp->derivation "guix-latest" builder #:modules '((guix build pull) (guix build utils) (guix build compile) ;; Closure of (guix modules). (guix modules) (guix memoization) (guix profiling) (guix sets)) ;; Arrange so that our own (guix build …) modules are ;; used. #:module-path (list (top-source-directory)) #:guile-for-build guile))) ;; This file is loaded by 'guix pull'; return it the build procedure. build ;; Local Variables: ;; eval: (put 'with-load-path 'scheme-indent-function 1) ;; End: ;;; build-self.scm ends here