Skip to content
Snippets Groups Projects
Commit a3cff41d authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

build-system/gnu: `package-with-explicit-inputs' skips non-GBS packages.

* guix/build-system/gnu.scm (package-with-explicit-inputs)[rewritten-input]:
  Leave P unchanged if its build system is not GNU-BUILD-SYSTEM.
parent 0de71c23
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,11 @@ (define rewritten-input ...@@ -72,7 +72,11 @@ (define rewritten-input
(memoize (memoize
(match-lambda (match-lambda
((name (? package? p) sub-drv ...) ((name (? package? p) sub-drv ...)
(cons* name (loop p) sub-drv)) ;; XXX: Check whether P's build system knows #:implicit-inputs, for
;; things like `cross-pkg-config'.
(if (eq? (package-build-system p) gnu-build-system)
(cons* name (loop p) sub-drv)
(cons* name p sub-drv)))
(x x)))) (x x))))
(package (inherit p) (package (inherit p)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment