build-system: copy: Add substitutable keyword.

* guix/build-system/copy.scm (copy-build): Add substitutable keyword.
This commit is contained in:
Jonathan Brielmaier 2023-01-11 00:31:08 +01:00
parent 1bb9394071
commit 3e8dd0df8c
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -2,6 +2,7 @@
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2023 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;;
;;; This file is part of GNU Guix.
;;;
@ -94,6 +95,7 @@ (define* (copy-build name inputs
%standard-phases))
(system (%current-system))
(target #f)
(substitutable? #t)
(imported-modules %copy-build-system-modules)
(modules '((guix build copy-build-system)
(guix build utils))))
@ -129,6 +131,7 @@ (define builder
(gexp->derivation name builder
#:system system
#:target #f
#:substitutable? substitutable?
#:guile-for-build guile)))
(define copy-build-system