unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: 60288@debbugs.gnu.org
Cc: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Subject: [bug#60288] [PATCH v1 1/2] build-system/copy: Add #:substitutable? argument.
Date: Fri, 23 Dec 2022 23:20:23 +0100	[thread overview]
Message-ID: <20221223222024.13805-1-GNUtoo@cyberdimension.org> (raw)
In-Reply-To: <20221220052349.4965-1-GNUtoo@cyberdimension.org>

* guix/build-system/copy.scm (copy-build): Add 'substitutable?'
  argument.
---
 guix/build-system/copy.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guix/build-system/copy.scm b/guix/build-system/copy.scm
index 4894ba46fb..bb4d2daaa8 100644
--- a/guix/build-system/copy.scm
+++ b/guix/build-system/copy.scm
@@ -96,7 +96,8 @@ (define* (copy-build name inputs
                      (target #f)
                      (imported-modules %copy-build-system-modules)
                      (modules '((guix build copy-build-system)
-                                (guix build utils))))
+                                (guix build utils)))
+                     (substitutable? #t))
   "Build SOURCE using INSTALL-PLAN, and with INPUTS."
   (define builder
     (with-imported-modules imported-modules
@@ -129,6 +130,7 @@ (define builder
     (gexp->derivation name builder
                       #:system system
                       #:target #f
+                      #:substitutable? substitutable?
                       #:guile-for-build guile)))
 
 (define copy-build-system
-- 
2.38.1





  reply	other threads:[~2022-12-23 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 22:07 [bug#60288] [RESEND #2] [PATCH v1 0/2] Start adding ZIM file(s) Denis 'GNUtoo' Carikli
2022-12-23 22:20 ` Denis 'GNUtoo' Carikli [this message]
2022-12-23 22:20   ` [bug#60288] [PATCH v1 2/2] gnu: Add wikipedia_en_all_maxi Denis 'GNUtoo' Carikli
2022-12-28 18:10 ` [bug#60288] [RESEND #2] [PATCH v1 0/2] Start adding ZIM file(s) Christopher Baines
2022-12-29 23:19   ` Denis 'GNUtoo' Carikli
2023-01-02 20:01   ` Denis 'GNUtoo' Carikli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221223222024.13805-1-GNUtoo@cyberdimension.org \
    --to=gnutoo@cyberdimension.org \
    --cc=60288@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).