summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-07-06 22:13:55 +0100
committerArun Isaac2023-07-06 22:13:55 +0100
commit62116be7fca25c78d1a72ddbc19282676b2ac729 (patch)
treed314df9584b25003a96ee348e935e768a9ac87e1
parent34c771b18dbf780184ee68836276c0d0fce95108 (diff)
downloadtissue-62116be7fca25c78d1a72ddbc19282676b2ac729.tar.gz
tissue-62116be7fca25c78d1a72ddbc19282676b2ac729.tar.lz
tissue-62116be7fca25c78d1a72ddbc19282676b2ac729.zip
.guix: Use current-source-directory in git-predicate.HEADmain
With "..", the git-predicate fails and filters nothing. * .guix/tissue-package.scm (tissue)[source]: Use current-source-directory in git-predicate.
-rw-r--r--.guix/tissue-package.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/.guix/tissue-package.scm b/.guix/tissue-package.scm
index ef20db2..23590bf 100644
--- a/.guix/tissue-package.scm
+++ b/.guix/tissue-package.scm
@@ -58,7 +58,7 @@
(source (local-file ".."
"tissue-checkout"
#:recursive? #t
- #:select? (or (git-predicate "..")
+ #:select? (or (git-predicate (dirname (current-source-directory)))
(const #t))))
(inputs
(modify-inputs (package-inputs guix:tissue)