diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-10 22:21:14 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-10 22:24:09 +0100 |
commit | ea89b62a18c988ead226cec542a5f4fdd3d58ac0 (patch) | |
tree | 575250c1c43e19fbc4d24a1ef3a12590272da9a9 /guix/packages.scm | |
parent | 6db044db45495aae471e1e8f537e267a0cb25cf5 (diff) |
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.scm | 4 |
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' |