Skip to content

Commit 6bc6d89

Browse files
committed
fix local-source
1 parent d06b49d commit 6bc6d89

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

hover-rs.scm

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
#:use-module (guix utils)
88
#:use-module (gnu packages crates-io))
99

10-
(define vcs-file?
11-
(or (git-predicate (current-source-directory))
12-
(const #t)))
10+
(define location
11+
(current-source-directory))
1312

14-
(define local-source
13+
(define-public local-source
1514
(local-file "." "source"
1615
#:recursive? #t
17-
#:select? (git-predicate (current-source-directory))))
16+
#:select? (git-predicate location)))
1817

1918
(define-public hover-rs
2019
(package

0 commit comments

Comments
 (0)