From ea89b62a18c988ead226cec542a5f4fdd3d58ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 10 Mar 2019 22:21:14 +0100 Subject: [PATCH] packages: 'patch-and-repack' specifies a 'type' property for the derivation. * guix/packages.scm (patch-and-repack): Pass #:properties to 'gexp->derivation'. --- guix/packages.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'