summaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-10 22:21:14 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-10 22:24:09 +0100
commitea89b62a18c988ead226cec542a5f4fdd3d58ac0 (patch)
tree575250c1c43e19fbc4d24a1ef3a12590272da9a9 /guix/packages.scm
parent6db044db45495aae471e1e8f537e267a0cb25cf5 (diff)
downloadpatches-ea89b62a18c988ead226cec542a5f4fdd3d58ac0.tar
patches-ea89b62a18c988ead226cec542a5f4fdd3d58ac0.tar.gz
packages: 'patch-and-repack' specifies a 'type' property for the derivation.
* guix/packages.scm (patch-and-repack): Pass #:properties to 'gexp->derivation'.
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index 8515bb7c6f..e5e568efab 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -645,7 +645,9 @@ specifies modules in scope when evaluating SNIPPET."
#:graft? #f
#:system system
#:deprecation-warnings #t ;to avoid a rebuild
- #:guile-for-build guile-for-build))))
+ #:guile-for-build guile-for-build
+ #:properties `((type . origin)
+ (patches . ,(length patches)))))))
(define (transitive-inputs inputs)
"Return the closure of INPUTS when considering the 'propagated-inputs'