aboutsummaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-12-27 22:55:34 +0100
committerLudovic Courtès <ludo@gnu.org>2014-12-27 23:22:55 +0100
commit7ec02d374d1fa8a8f4034a996485872fd2aa7b73 (patch)
treea4e02e2b268530da692d3a9e94333eb4d8583e57 /guix/packages.scm
parentaf07095516b56dcdd38bf1874da27de9c4c841f6 (diff)
downloadgnu-guix-7ec02d374d1fa8a8f4034a996485872fd2aa7b73.tar
gnu-guix-7ec02d374d1fa8a8f4034a996485872fd2aa7b73.tar.gz
build-support/gnu: Add support for file patterns in search paths.
* guix/build/utils.scm (search-path-as-list): Add #:pattern parameter and honor it. (set-path-environment-variable): Likewise, and pass it to 'search-path-as-list'. * guix/packages.scm (search-path-specification->sexp): Add PATTERN slot. * guix/build/gnu-build-system.scm (set-paths): Adjust accordingly.
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index b375895785..e299962a2e 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -181,7 +181,8 @@ representation."
corresponds to the arguments expected by `set-path-environment-variable'."
(match spec
(($ <search-path-specification> variable files separator type)
- `(,variable ,files ,separator ,type))))
+ ;; TODO: Add support for PATTERN.
+ `(,variable ,files ,separator ,type #f))))
(define %supported-systems
;; This is the list of system types that are supported. By default, we