aboutsummaryrefslogtreecommitdiff
path: root/.guix
diff options
context:
space:
mode:
Diffstat (limited to '.guix')
-rw-r--r--.guix/guile-xapian-package.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/.guix/guile-xapian-package.scm b/.guix/guile-xapian-package.scm
index 84a4444..1d33152 100644
--- a/.guix/guile-xapian-package.scm
+++ b/.guix/guile-xapian-package.scm
@@ -27,17 +27,17 @@
(define-public guile-xapian
(package
(inherit guix:guile-xapian)
- (source (let ((source-directory (dirname (current-source-directory))))
- (local-file source-directory
- #:recursive? #t
- #:select? (git-predicate source-directory))))))
+ (source (local-file ".."
+ #:recursive? #t
+ #:select? (or (git-predicate "..")
+ (const #t))))))
(define-public guile2.2-xapian
(package
(inherit guix:guile2.2-xapian)
- (source (let ((source-directory (dirname (current-source-directory))))
- (local-file source-directory
- #:recursive? #t
- #:select? (git-predicate source-directory))))))
+ (source (local-file ".."
+ #:recursive? #t
+ #:select? (or (git-predicate "..")
+ (const #t))))))
guile-xapian